aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/boot.rb
Commit message (Collapse)AuthorAgeFilesLines
* requiring rubygems version 1.1.1David Lowenfels2008-07-151-4/+4
|
* Added that gems can now be plugins if they include rails/init.rb (closes ↵David Heinemeier Hansson2008-03-271-0/+1
| | | | | | #11444) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compatibility. References #1689.Jeremy Kemper2007-12-171-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-101-0/+1
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow double quotes around RAILS_GEM_VERSION also. Closes #10443 [James Cox]Jeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RAILS_GEM_VERSION may be set to any valid gem version specifier. Closes #10057.Jeremy Kemper2007-11-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load config/preinitializer.rb, if present, before loading the environment. ↵Jeremy Kemper2007-11-171-1/+12
| | | | | | Closes #9943. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use instead of STDERR in boot.rb. Closes #9988 [thewoolleyman]Jeremy Kemper2007-10-261-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor and test boot.rb. Include tests from and closes #9834.Jeremy Kemper2007-10-231-26/+84
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge [7832] from 1-2-stable: Correct RAILS_GEM_VERSION regexp. Use =version ↵Jeremy Kemper2007-10-181-8/+11
| | | | | | gem requirement instead of ~>version so you don't get surprised by a beta gem in production. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7964 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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