Can't install redMine
Added by Gordon Hughes almost 14 years ago
Hi
I have been directed to post a message here as I'm having trouble installing redMine on the server.
Every time I try (regardless of version), I get an error saying something about GemDependancy being undefined. My host tried various things and it still won't install. I was provided a fix and it changed the error to Object is not missing constant Issue!
Does anyone have any idea on how to solve this?? I'm on HawkHost if you need to know that. I need a fix asap as I need redMine for my project.
Thanks
Replies (9)
RE: Can't install redMine - Added by Gordon Hughes almost 14 years ago
If I'm missing any important information, please let me know with instructions on how to get the information and I'll post it here.
RE: Can't install redMine - Added by Etienne Massip almost 14 years ago
You should post here the error trace as it appears in error log file production.log
, and the result of gem list
too, thanks.
RE: Can't install redMine - Added by Gordon Hughes almost 14 years ago
So, I'd just run the SSH Command that's not working and it'll create a file called production.log??
RE: Can't install redMine - Added by Gordon Hughes almost 14 years ago
I've found that file, but it doesn't contain anything. When I run a --trace on the failing command, I get this:
rake db:migrate RAILS_ENV="prod > uction" --trace (in /home/improvcm/rails_apps/redMine) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! No such file or directory - /home/improvcm/rails_apps/redMine/config/environme nts/prod.rb /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:386:in `read' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:386:in `load_environment' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/core_ext/kernel/reporting.rb:11:in `silence_warnings' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:379:in `load_environment' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:137:in `process' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:113:in `send' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:113:in `run' /home/improvcm/rails_apps/redMine/config/environment.rb:31 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_req uire' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:156:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:521:in `new_constants_in' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:156:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/railties/lib/tasks/misc.rake:4 /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `call' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_ chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_ chain' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisi tes' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:604:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisi tes' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_ chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_ chain' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excepti on_handling' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excepti on_handling' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /home/improvcm/ruby/gems/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
And I can't post the output of gem list as there are so many gems to list.
RE: Can't install redMine - Added by Etienne Massip almost 14 years ago
There is a line break in the "production" word and so RoR is looking for environment "prod" instead of "production".
RE: Can't install redMine - Added by Gordon Hughes almost 14 years ago
Alright, I redid the SSH and it produced this output:
(in /home/improvcm/rails_apps/redMine) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Object is not missing constant Issue! /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:417:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:92:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:98:in `send' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:98:in `const_missing' /home/improvcm/rails_apps/redMine/app/models/project.rb:35 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_req uire' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:158:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/improvcm/rails_apps/redMine/vendor/plugins/engines/lib/engines/rails_ext ensions/dependencies.rb:132:in `require_or_load' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:425:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:92:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:437:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:96:in `const_missing' /home/improvcm/rails_apps/redMine/app/models/attachment.rb:36 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_req uire' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:158:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/improvcm/rails_apps/redMine/vendor/plugins/engines/lib/engines/rails_ext ensions/dependencies.rb:132:in `require_or_load' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:425:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:92:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:437:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:437:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:437:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:437:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/plugins/acts_as_attachable/lib/acts_a s_attachable.rb:33:in `acts_as_attachable' /home/improvcm/rails_apps/redMine/app/models/message.rb:22 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_req uire' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:158:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/improvcm/rails_apps/redMine/vendor/plugins/engines/lib/engines/rails_ext ensions/dependencies.rb:132:in `require_or_load' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:425:in `load_missing_constant' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:80:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:92:in `const_missing' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/inflector.rb:361:in `constantize' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/inflector.rb:360:in `each' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/inflector.rb:360:in `constantize' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/core_ext/string/inflections.rb:162:in `constantize' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:157:in `observed_class' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:183:in `observed_classes' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:166:in `initialize' /usr/lib/ruby/1.8/singleton.rb:94:in `new' /usr/lib/ruby/1.8/singleton.rb:94:in `instance' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:38:in `instantiate_observers' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:36:in `each' /home/improvcm/rails_apps/redMine/vendor/rails/activerecord/lib/active_record/ observer.rb:36:in `instantiate_observers' /home/improvcm/rails_apps/redMine/vendor/rails/actionpack/lib/action_controlle r/dispatcher.rb:15:in `define_dispatcher_callbacks' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:182:in `call' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:182:in `evaluate_method' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:166:in `call' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:90:in `run' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:90:in `each' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:90:in `send' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:90:in `run' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/callbacks.rb:276:in `run_callbacks' /home/improvcm/rails_apps/redMine/vendor/rails/actionpack/lib/action_controlle r/dispatcher.rb:51:in `send' /home/improvcm/rails_apps/redMine/vendor/rails/actionpack/lib/action_controlle r/dispatcher.rb:51:in `run_prepare_callbacks' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:631:in `prepare_dispatcher' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:185:in `process' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:113:in `send' /home/improvcm/rails_apps/redMine/config/../vendor/rails/railties/lib/initiali zer.rb:113:in `run' /home/improvcm/rails_apps/redMine/config/environment.rb:31 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_req uire' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:156:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:521:in `new_constants_in' /home/improvcm/rails_apps/redMine/vendor/rails/activesupport/lib/active_suppor t/dependencies.rb:156:in `require' /home/improvcm/rails_apps/redMine/vendor/rails/railties/lib/tasks/misc.rake:4 /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `call' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_ chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_ chain' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisi tes' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:604:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisi tes' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_ chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_ chain' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excepti on_handling' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excepti on_handling' /home/improvcm/ruby/gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /home/improvcm/ruby/gems/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
RE: Can't install redMine - Added by Gordon Hughes almost 14 years ago
Any assistance in solving this matter would be greatfully appreciated as it's required for my project.
RE: Can't install redMine - Added by Etienne Massip almost 14 years ago
Seems to be a mysql gem installation issue.
Have a look at Vagner's way to solve the problem : RE: "Object is not missing constant Issue!" on CentOS 5.5
RE: Can't install redMine - Added by Gordon Hughes over 13 years ago
Got it fixed, it was a rack issue (Must be equal to 1.1.0 or it would error)