https://www.redmine.org/
https://www.redmine.org/favicon.ico?1679302129
2012-06-25T16:21:44Z
Redmine
Redmine - Defect #11248: rake aborted! uninitialized constant RAILS_ENV trying to update Database
https://www.redmine.org/issues/11248?journal_id=39271
2012-06-25T16:21:44Z
Jean-Philippe Lang
jp_lang@yahoo.fr
<ul><li><strong>Resolution</strong> set to <i>Cant reproduce</i></li></ul>
Redmine - Defect #11248: rake aborted! uninitialized constant RAILS_ENV trying to update Database
https://www.redmine.org/issues/11248?journal_id=39408
2012-07-01T13:07:26Z
Alessio Pollero
<ul></ul><p>I have the problem on my installation rather then simply setting the issue as not reproducible, you could have asked for more information ...</p>
<p>Do you need more information to investigate the problem ?</p>
<p>I have updated from version 1.3.0 and i followed the steps in the upgrade guide, but i get the error ... Should i upgrade to 1.4.4 and then to 2.0.3 ?</p>
<p>Thanks.</p>
Redmine - Defect #11248: rake aborted! uninitialized constant RAILS_ENV trying to update Database
https://www.redmine.org/issues/11248?journal_id=39425
2012-07-03T02:18:26Z
Ki Won Kim
<ul></ul><p>I have same error and evironments.<br />and I remove plugins folder, then ok.<br />Maybe old plugins were effected.</p>
Redmine - Defect #11248: rake aborted! uninitialized constant RAILS_ENV trying to update Database
https://www.redmine.org/issues/11248?journal_id=39965
2012-07-26T08:26:16Z
CĂ©lestin Matte
<ul></ul><p>Hi.<br />I had the same problem trying to install a plugin for Redmine 1.x on Redmine 2.x.<br />The problem may come from one of your plugins, try checking running the db migration with --trace to see where the error comes from.<br />I solved the problem simply by changing "RAILS_ENV" to "Rails.env" where the error came from (in my case, in plugins/<plugin_name>/init.rb:4).</p>
<p>Regards</p>
Redmine - Defect #11248: rake aborted! uninitialized constant RAILS_ENV trying to update Database
https://www.redmine.org/issues/11248?journal_id=48506
2013-04-13T10:10:15Z
Jean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>Normal</i></li></ul>Closing this issue, I hope it's now resolved for you. Just a few points :
<ul>
<li>there's no need to upgrade to 1.4.x before 2.x</li>
<li>there are high chances it's related to one of your plugins that's not compatible with Redmine 2.x</li>
<li>if the issue still occurs without any plugin, please read <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/SubmittingBugs">SubmittingBugs</a> and provide detailed informations about how to reproduce</li>
</ul>
<p>Thanks</p>