Project

General

Profile

problem installing on a fedora 8

Added by Ricardo Vitoriano over 15 years ago

sorry for this question, but i am a bit n00b on this matter,

i asked the sysadmin to execute the command on my webhost to install redmine, and the error is alwas the same, as follows:

rake db:migrate RAILS_ENV="production" --trace

(in /var/www/vhosts/solutions.pt/httpdocs/redmine)
rake aborted!
wrong number of arguments (3 for 1)
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/plugins/engines/tasks/engines.rake:47:in `task'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/plugins/engines/tasks/engines.rake:47
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1570:in `in_namespace'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:640:in `namespace'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/plugins/engines/tasks/engines.rake:33
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1570:in `in_namespace'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:640:in `namespace'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/plugins/engines/tasks/engines.rake:32
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/railties/lib/tasks/rails.rb:7
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/railties/lib/tasks/rails.rb:7:in `each'
/var/www/vhosts/solutions.pt/httpdocs/redmine/vendor/rails/railties/lib/tasks/rails.rb:7
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/var/www/vhosts/solutions.pt/httpdocs/redmine/Rakefile:10
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1939:in `load'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1939:in `raw_load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1760:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1725:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1709:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1760:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1707:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load'
/usr/bin/rake:16

any idea on how to fix this?
thanks,
Ricardo


Replies (1)

RE: problem installing on a fedora 8 - Added by Ricardo Vitoriano over 15 years ago

Solution to this problem:

- run " gem install rails v=2.2.2 " from " / "
then grant all right to the user that access the redmine database.

Cheers

    (1-1/1)