Rails::AppLoader
No documentation available for this module.
Constants
BUNDLER_WARNING = <<EOS\nLooks like your app's ./bin/rails is a stub that was generated by Bundler.\n\nIn Rails #{Rails::VERSION::MAJOR}, your app's bin/ directory contains executables that are versioned\nlike any other source code, rather than stubs that are generated on demand.\n\nHere's how to upgrade:\n\nbundle config --delete bin # Turn off Bundler's stub generator\nrails app:update:bin # Use the new Rails 5 executables\ngit add bin # Add bin/ to source control\n\nYou may need to remove bin/ from your .gitignore as well.\n\nWhen you install a gem whose executable you want to use in your app,\ngenerate it and add it to source control:\n\nbundle binstubs some-gem-name\ngit add bin/new-executable\n\nEOS
EXECUTABLES = ["bin/rails", "script/rails"]
RUBY = Gem.ruby
Files
- railties/lib/rails/app_loader.rb