Skip to content

Fix 2 problems affecting deployment#41

Open
jackqq wants to merge 3 commits into
drewkeller:masterfrom
jackqq:master
Open

Fix 2 problems affecting deployment#41
jackqq wants to merge 3 commits into
drewkeller:masterfrom
jackqq:master

Conversation

@jackqq

@jackqq jackqq commented May 2, 2015

Copy link
Copy Markdown

Hi. I deployed the plugin on Redmine 2.4.0 with Rails 3.2.15. Here are the fixes to the problems that I've met during the process. Hope this helps!

jackqq and others added 3 commits May 2, 2015 16:05
Rails.env merely wraps ENV["RAILS_ENV"]. ENV and Rails.env are not
equivalent.

ref.
http://stackoverflow.com/a/2715076
http://api.rubyonrails.org/classes/Rails.html#method-c-env
The original fix was introduced in fc7ae20, merged in 9471d3b but
reverted by df59d68.

ref. drewkeller#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant