1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties
Steve Klabnik c5a9c02e01 Fix backwards compatibility with Rails 3 apps.
When we removed script/rails and introduced bin/rails, we accidentally
introduced a regression. If you install Rails 4 as a gem, then try to do
something in a Rails 3 application:

    $ rails g

This will throw the 'please type rails new foo' message rather than the
proper generator documentation message. This is because older apps don't
have bin/rails.

Therefore, we now *prefer* bin/rails, but still search for script/rails,
and exec the one we find.
2013-02-22 14:30:21 -05:00
..
bin
lib Fix backwards compatibility with Rails 3 apps. 2013-02-22 14:30:21 -05:00
test Fix backwards compatibility with Rails 3 apps. 2013-02-22 14:30:21 -05:00
.gitignore
CHANGELOG.md Merge pull request #9341 from senny/move_precompiled_asset_config_to_application 2013-02-20 08:18:08 -08:00
MIT-LICENSE Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00
railties.gemspec Depend on thor >= 0.17.0 2013-01-23 23:08:28 -02:00
Rakefile remove misleading comment in Rakefile 2012-09-24 18:49:17 -05:00
README.rdoc

= Railties -- Gluing the Engine to the Rails

Railties is responsible for gluing all frameworks together. Overall, it:

* handles the bootstrapping process for a Rails application;

* manages the +rails+ command line interface;

* and provides the Rails generators core.


== Download

The latest version of Railties can be installed with RubyGems:

* gem install railties

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/railties

== License

Railties is released under the MIT license:

* http://www.opensource.org/licenses/MIT

== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues