1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Xavier Noria
85de183071 application loader refactor and test suite complete rewrite 2013-04-11 13:19:16 +02:00
Xavier Noria
4041068125 code review of 22e5ab3 2013-04-10 17:42:00 +02:00
Prathamesh Sonpatki
22e5ab31b5 Searching for rails executable correctly
* Current logic of finding Rails executable in parent directory is
   not returning full path of executable if it is found in one of the
   parent directories
 * To compensate for this, we have to call exec_app_rails recursively
   until the executable is found or we cant do 'chdir' anymore
 * This solution finds the correct executable path from parent
   directory(s) recursively
2013-04-10 20:52:33 +05:30
Jeremy Kemper
9039c50388 Explain how to upgrade bin/ for Rails 4 2013-04-09 16:49:24 -07:00
Andre Arko
ffd899f921 fix binstub typo 2013-03-30 13:02:26 -07:00
Andre Arko
99e1a4da99 need to delete bin, not binstub, update wording 2013-03-27 20:24:04 -07:00
Andre Arko
b77bbab25e script/rails could never be from bundler 2013-03-27 20:23:13 -07:00
Andre Arko
c6fd1fcc91 rails commands even if bin/rails is a gem stub 2013-03-20 17:16:25 -07:00
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
Jeremy Kemper
009873aec8 Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. 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' 2013-01-06 21:41:36 -07:00