5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-29 12:56:08 +00:00
panel/bin/rails

33 lines
855 B
Plaintext
Raw Normal View History

2018-01-02 17:19:25 +00:00
#!/usr/bin/env ruby
2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2019-07-29 18:15:23 +00:00
#
# This file was generated by Bundler.
#
# The application 'rails' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path('bundle', __dir__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort(
'Your `bin/bundle` was not generated by Bundler, so this binstub
cannot run. Replace `bin/bundle` by running `bundle binstubs
bundler --force`, then run this command again.'
)
end
2018-01-02 17:19:25 +00:00
end
2019-07-29 18:15:23 +00:00
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('railties', 'rails')