aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/boot.rb
Commit message (Collapse)AuthorAgeFilesLines
* Deprecation: remove components from controller paths. Canonicalize ↵Jeremy Kemper2007-03-181-10/+1
| | | | | | RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-061-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ ↵David Heinemeier Hansson2007-02-041-2/+2
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Actually require the gem foundDavid Heinemeier Hansson2006-11-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give ↵David Heinemeier Hansson2006-11-231-1/+2
| | | | | | you 1.1.6.4520 if available [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an ↵David Heinemeier Hansson2006-04-071-20/+26
| | | | | | uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't match commented out RAILS_GEM_VERSIONs.Nicholas Seckar2006-04-071-1/+1
| | | | | | | Avoid "Constant already defined" warnings for RAILS_GEM_VERSION. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Exit when no gem is found; expand on error messageNicholas Seckar2006-04-011-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Specify gem version in environment.rbDavid Heinemeier Hansson2006-04-011-6/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Teach Rails apps to only load gems of the same Rails version they were ↵Nicholas Seckar2006-04-011-1/+6
| | | | | | generated with. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Warn people not to change boot.rbDavid Heinemeier Hansson2005-12-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Back off cleanpath to be symlink friendly. Closes #2533Nicholas Seckar2005-10-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't clean RAILS_ROOT on windowsJamis Buck2005-10-191-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove trailing '/' from RAILS_ROOTNicholas Seckar2005-10-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Shorten long lineNicholas Seckar2005-10-151-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. ↵Nicholas Seckar2005-10-141-1/+2
| | | | | | Provides cleaner backtraces and error messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run set load path so others can do boot and get pathDavid Heinemeier Hansson2005-09-301-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-031-0/+8
empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de