install redmine has a problem
Added by d fflyy over 13 years ago
In this step for "Create (or update) Redmine database tables", when output:
C:\Webserver>cd Redmine
C:\Webserver\Redmine>set RAILS_ENV=production
C:\Webserver\Redmine>rake generate_session_store
(in C:/Webserver/Redmine)
C:\Webserver\Redmine>rake db:migrate
(in C:/Webserver/Redmine)
rake aborted!
undefined local variable or method `version_requirements' for #<Rails::GemDepend
ency:0x4474f68>
(See full trace by running task with --trace)
hao to solve?
runs:
windows 2008 sp2.
redmine 1.1.1
Replies (5)
RE: install redmine has a problem
-
Added by Etienne Massip over 13 years ago
You're running with RubyGems 1.5, which is not supported actually.
Either downgrade to previous version of RubyGems or upgrade to rails 2.3.6 (not officially supported).
RE: install redmine has a problem
-
Added by d fflyy over 13 years ago
Resolved...i am used InstantRails Successful
RE: install redmine has a problem
-
Added by Kim Stenbryggen over 13 years ago
I have the same problem on my SLES11 SP1.
My setup is.
Ruby 1.8.7.p72-5.24.2
Rubygems 1.3.1-2.10
Mysql 5.0.67-13.26.1
redmine:~/redmine-1.1 # gem list *** LOCAL GEMS *** actionmailer (2.3.5) actionpack (2.3.5) activerecord (2.3.5) activeresource (2.3.5) activesupport (2.3.5) i18n (0.4.2) rack (1.0.1) rails (2.3.5) rake (0.8.3)
This is my trace.
redmine:~/redmine-1.1 # RAILS_ENV=production rake db:migrate --trace (in /root/redmine-1.1) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined local variable or method `version_requirements' for #<Rails::GemDependency:0x7f176e109a28> /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:in `requirement' /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:254:in `activate' /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:1204:in `gem' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:73:in `add_load_paths' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:301:in `add_gem_load_paths' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:301:in `each' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:301:in `add_gem_load_paths' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:132:in `process' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run' /root/redmine-1.1/config/environment.rb:20 /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require' /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4 /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in `invoke_prerequisites' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `invoke_prerequisites' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in `invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
Any idear what could be my problem?
RE: install redmine has a problem
-
Added by d fflyy over 13 years ago
yes, i this error too.
You can try it and If you have questions,Welcome to the discussion