aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/cli.rb
Commit message (Collapse)AuthorAgeFilesLines
* Initial command structure.Kasper Timm Hansen2016-09-251-2/+4
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-5/+5
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* :bomb: Fix another leftoverRafael Mendonça França2015-05-271-1/+1
|
* Remove redundant 'Rails' from Rails::AppRailsLoader constantRyan Bigg2015-05-211-1/+1
|
* No need to require rbconfig as we are using Gem.rubyArun Agrawal2013-10-111-1/+0
|
* s/plugin_new/pluginschneems2013-06-301-1/+1
| | | | | There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176 ATP Railties
* Fix backwards compatibility with Rails 3 apps.Steve Klabnik2013-02-221-3/+0
| | | | | | | | | | | | | | | 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.
* Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-2/+5
| | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* Exit with non-zero to signal failure.Philip Arndt2011-01-291-1/+1
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-111-1/+6
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-021-1/+6
| | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵zhengjia2010-11-111-3/+0
|/ | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* adds a comment in cli.rb so that it is clear that exec_script_rails! ↵Xavier Noria2010-08-271-0/+2
| | | | performs an exec call
* detect being inside a rails application even from a subdirectoryChad Fowler2010-06-101-19/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* moved rails binary to rails gem, so rubygems can find specific versions of ↵Felipe Rodrigues2010-04-121-0/+30
rails [#4382 state:resolved] Signed-off-by: wycats <wycats@gmail.com>