aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/rails
Commit message (Collapse)AuthorAgeFilesLines
* extract path into variablebuddhamagnet2013-04-211-1/+3
|
* Just provide the executable for railtie. This should be fine since Rubygems ↵José Valim2011-09-121-1/+6
| | | | now warns before overriding them.
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-0/+0
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Copy the bin to railties so it also works if you don't have the rails gem.José Valim2011-06-281-0/+2
|
* moved rails binary to rails gem, so rubygems can find specific versions of ↵Felipe Rodrigues2010-04-121-30/+0
| | | | | | rails [#4382 state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* let the rails command recurse upwards looking for script/rails, and exec ↵David Heinemeier Hansson2010-02-251-9/+28
| | | | ruby on it for better portability [Xavier Noria] (Closes #4008)
* Make bin/rails call rails/commands/application, fix generators usage and ↵José Valim2010-02-031-23/+4
| | | | update .gitignores.
* Removed all the default commands in script/* and replaced them with ↵David Heinemeier Hansson2010-02-021-22/+25
| | | | script/rails and a rails command that'll act the same when run from within the app [DHH]
* More cleaning up on rails generators load path.José Valim2010-01-181-1/+1
|
* Fix the i18n dependency problemDavid Heinemeier Hansson2009-12-271-1/+1
|
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-3/+4
| | | | adding any to the load path more than once.
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-0/+1
| | | | application's object root)
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-4/+14
|
* Change current sstructure.José Valim2009-06-231-2/+2
|
* Added a generator file responsable for loading generator files.José Valim2009-06-231-1/+3
|
* Added metal generator.José Valim2009-06-231-1/+1
|
* Use Rails generators files organization.José Valim2009-06-231-1/+1
|
* When rails is invoked without args, be sure that help is called.José Valim2009-06-191-0/+2
|
* bin/rails uses the new generator.José Valim2009-06-191-11/+2
|
* Added a couple more options to app generator.José Valim2009-06-191-1/+1
|
* Add "-m/--template" option to Rails generator to apply template to generated ↵Jeremy McAnally2008-12-021-0/+1
| | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed that rails --version should have the return code of 0 (success) ↵David Heinemeier Hansson2006-04-031-1/+4
| | | | | | (closes #4560) [blair@orcaware.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -f/--freeze option to rails command for freezing the application to ↵David Heinemeier Hansson2006-04-011-0/+5
| | | | | | the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove explicit require of departed file.Nicholas Seckar2006-04-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reject Ruby 1.8.3 when loading Rails; extract version checking code.Nicholas Seckar2006-03-191-18/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails is not compatible with Ruby 1.8.3, explicitly prevent usage [DHH]David Heinemeier Hansson2006-03-191-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename Version constant to VERSION. Closes #2802.Marcel Molina2005-11-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Require rails_version instead of versionJamis Buck2005-10-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add versioning convention from SwitchTower to all Rails components. Add ↵Marcel Molina2005-10-091-0/+4
| | | | | | --version, -v option to the 'rails' command. Closes #1840. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2960@asus: jeremy | 2005-07-09 02:12:35 -0700Jeremy Kemper2005-07-091-1/+10
| | | | | | | | | | | | | Ticket 1674 - Ruby version check r2961@asus: jeremy | 2005-07-09 02:50:54 -0700 Require RAILS_VERSION >= 1.8.2 and RAILS_RELEASE_DATE >= 2004-12-25. r2962@asus: jeremy | 2005-07-09 02:54:49 -0700 minimum_release -> min_release typo r2963@asus: jeremy | 2005-07-09 02:56:14 -0700 updated changelog git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful exit from pressing CTRL-C during the run of the rails command ↵David Heinemeier Hansson2005-05-211-1/+3
| | | | | | #1150 [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed a fix that was caused by a bug in RubyGems 0.8.5David Heinemeier Hansson2005-02-281-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slicker way of quiting on less than Ruby 1.8.2David Heinemeier Hansson2005-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added early failure if the Ruby version isn't 1.8.2 or above #735David Heinemeier Hansson2005-02-271-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the missing shebang in main "rails" script #736David Heinemeier Hansson2005-02-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new generator framework that informs about its doings on generation ↵David Heinemeier Hansson2005-02-071-27/+6
| | | | | | and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cut dependency on dev-utils by using included breakpoint libDavid Heinemeier Hansson2004-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+28
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de