Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10023 (new defect)

Opened 7 months ago

Last modified 2 months ago

[PATCH] plugin.rb def rails_env should be @rails_env ||= RailsEnvironment.default

Reported by: jstehle Assigned to: core
Priority: normal Milestone: 2.x
Component: Plugins Version: edge
Severity: normal Keywords: plugin
Cc:

Description

plugin.rb (versions I have installed rails 1.2.3, 1.2.5) discovered trying to run ruby script/plugin -v install svn://rubyforge.org/var/svn/elasticrails

currently...

def rails_env

@rails_env RailsEnvironment.default

end

should be .... def rails_env

@rails_env = RailsEnvironment.default

end

Change History

03/19/08 21:35:03 changed by david.calavera

I've added the patch to this issue in the latest patch file of #11351. You can look at

http://dev.rubyonrails.org/attachment/ticket/11351/plugin_install_from_secure_repository.4.diff

please apply +1 to #11351 in order to close this bug too.

03/19/08 21:42:17 changed by david.calavera

  • summary changed from plugin.rb def rails_env should be @rails_env ||= RailsEnvironment.default to [PATCH] plugin.rb def rails_env should be @rails_env ||= RailsEnvironment.default.