module

Rails::AppRailsLoader

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 4, 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\nrake rails:update:bin # Use the new Rails 4 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 = File.join(*RbConfig::CONFIG.values_at("bindir", "ruby_install_name")) + RbConfig::CONFIG["EXEEXT"]

Files

  • railties/lib/rails/app_rails_loader.rb