Project

General

Profile

i have some problems whith install redmine...help

Added by Max Anonumus about 16 years ago

ok ... hi all

help me !!
i have debian lenny and i try to install redmine
when i do
root@nixts:/var/www/redmine-0.7/config# rake db:migrate RAILS_ENV="production"
(in /var/www/redmine-0.7)
rake aborted!
no such file to load -- initializer
/var/www/redmine-0.7/Rakefile:4:in `require'
(See full trace by running task with --trace)

then i do
root@nixts:/var/www/redmine-0.7/config# rake db:migrate RAILS_ENV="production" --trace
(in /var/www/redmine-0.7)
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-0.7/config/boot.rb:16
/var/www/redmine-0.7/Rakefile:4:in `require'
/var/www/redmine-0.7/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


Replies (2)

RE: i have some problems whith install redmine...help - Added by Max Anonumus about 16 years ago

rails --version
getopt: unrecognized option `--version'
Terminating...

root@nixts:/# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

database mysql

redmine-0.7

RE: i have some problems whith install redmine...help - Added by Lachlan Musicman about 16 years ago

I am running on sid, but I think I can see your problem - I had a similar one. You wrote

root@nixts:/var/www/redmine-0.7/config# rake db:migrate RAILS_ENV="production"

might I suggest you do it one dir up? Try

root@nixts:/var/www/redmine-0.7# rake db:migrate RAILS_ENV="production"

also, might I suggest you install and use sudo?

cheers

    (1-2/2)