Project

General

Profile

Actions

Defect #1161

closed

SVN-Version not installable

Added by Dennis K over 16 years ago. Updated over 16 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi!

After injecting this command:

rake db:migrate RAILS_ENV="production"

I got an error-message:
www-data@zion:~/redmine$ rake db:migrate RAILS_ENV="production" 
(in /var/www/redmine)
rake aborted!
no such file to load -- initializer
/var/www/redmine/Rakefile:4:in `require'
(See full trace by running task with --trace)
www-data@zion:~/redmine$ rake db:migrate RAILS_ENV="production" --trace
(in /var/www/redmine)
rake aborted!
no such file to load -- initializer
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
/var/www/redmine/config/boot.rb:16
/var/www/redmine/Rakefile:4:in `require'
/var/www/redmine/Rakefile:4
/usr/lib/ruby/1.8/rake.rb:2149:in `load'
/usr/lib/ruby/1.8/rake.rb:2149:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1897:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1896:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1880:in `run'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1878:in `run'
/usr/bin/rake:28

Obviously, the directory "vendor/rails" is missing in the svn-version.
Copying the missing folder from the downloadable version workarrounds it.

slazZ

Actions #1

Updated by Francis Chong over 16 years ago

I encountered similar problem.

Cannot use "rake rails:freeze:edge" with error "constant Rails is undefined", using download version is OK.

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

You'll find the answer in the FAQ: http://www.redmine.org/wiki/redmine/FAQ#3

Actions

Also available in: Atom PDF