José Valim
76cebf2e53
Actually this file may be invoked directly as well with --dev.
2011-05-25 01:27:00 +02:00
David Heinemeier Hansson
1d8bf4f4f9
Cant use inclusion in commands/application.rb as the frameworks havent all been required yet
2011-04-11 15:25:39 +02:00
Prem Sichanugrist
a9f3c9da01
Using Object#in? and Object#either? in various places
...
There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
2011-04-11 03:17:09 +08:00
Philip Arndt
dcc72b2079
Use Thor's self.exit_on_failure? to exit whenever accessing the generators from the CLI and a Thor::Error is raised.
2011-01-29 16:51:39 +08:00
Madjo DIAPENA
3cb5375832
ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will always be true
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-04 18:49:28 +02:00
Mikel Lindsaar
4774680405
Changing command line API from 'rails blog' to 'rails new blog'.
...
Also removed the limitation of not being able to call your new server any of
the rails commands (generate, server, dbconsole, console etc) as there is
no longer any ambiguity here.
http://rails.lighthouseapp.com/projects/8994/tickets/4665
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 12:30:03 -05:00
Carlhuda
c54c84b7b4
Move ActionMailer generator to AM
2010-04-29 16:45:57 -07:00
José Valim
05ec99eed9
bin/rails should use the new app generator path.
2010-03-23 14:12:58 +01:00
José Valim
d0f98420ea
Automatically require rubygems when --dev flag is given.
2010-02-04 14:05:13 +01:00
David Heinemeier Hansson
d236827881
Removed all the default commands in script/* and replaced them with script/rails and a rails command that'll act the same when run from within the app [DHH]
2010-02-02 15:50:56 -08:00