Defect #1161

SVN-Version not installable

Added by Dennis K almost 13 years ago. Updated almost 13 years ago.

Status:ClosedStart date:2008-05-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
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

History

#1 Updated by Francis Chong almost 13 years ago

I encountered similar problem.

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

#2 Updated by Jean-Philippe Lang almost 13 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

Also available in: Atom PDF