Project

General

Profile

Actions

Defect #11248

closed

rake aborted! uninitialized constant RAILS_ENV trying to update Database

Added by Alessio Pollero almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I'm trying to update redmine from 1.3.0 to 2.0.3 when i arrive at step 4 Update the Database i run this command :

rake db:migrate RAILS_ENV=production

i get this error :

(in /usr/share/redmine)
/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:9: warning: already initialized constant RUBY
/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:86: warning: already initialized constant LN_SUPPORTED
rake aborted!
uninitialized constant RAILS_ENV

(See full trace by running task with --trace)

Why ?

How can i solve this error ? my database is postgreSQL...

Actions

Also available in: Atom PDF