This project is archived and is in readonly mode.

Changeset [1b816d502444ce2b3153d8c689d0057f1c257eee] by José Valim

April 29th, 2010 @ 07:39 AM

The rake task :environment now loads config/environment.rb instead of initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
http://github.com/rails/rails/commit/1b816d502444ce2b3153d8c689d005...

Committed by José Valim

  • A railties/lib/rails/commands/benchmarker.rb
  • A railties/lib/rails/commands/profiler.rb
  • R railties/lib/rails/commands/performance/benchmarker.rb
  • R railties/lib/rails/commands/performance/profiler.rb
  • M activesupport/lib/active_support/cache/strategy/local_cache.rb
  • M railties/lib/rails/application.rb
  • M railties/lib/rails/application/bootstrap.rb
  • M railties/lib/rails/application/configuration.rb
  • M railties/lib/rails/commands.rb
  • M railties/lib/rails/commands/runner.rb
  • M railties/lib/rails/generators/rails/app/templates/script/rails
  • M railties/test/application/middleware_test.rb
  • M railties/test/application/paths_test.rb
  • M railties/test/application/rake_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>