module

Rails::AppRailsLoader

rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

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 = Gem.ruby

Files

  • railties/lib/rails/app_rails_loader.rb