instaling Redmine 1.2.1 on Mac Snow Leopard
Added by Piotr Jarmołowicz over 15 years ago
Hello,
I am trying to install redmine on mac and I am stuck on database creating.
I have redmine 1.2.1, MacBook Pro with Snow Leopard 10.6.8, gems installed:
*** LOCAL GEMS *** actionmailer (2.3.11, 2.3.5, 1.3.6) actionpack (2.3.11, 2.3.5, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.11, 2.3.5, 1.15.6) activeresource (2.3.11, 2.3.5) activesupport (2.3.11, 2.3.5, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) coderay (0.9.7) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) i18n (0.4.2) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.1.2, 1.0.1) rails (2.3.11, 2.3.5, 1.2.6) rake (0.8.7, 0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rubytree (0.8.1) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4)
I have MAMP (www.mamp.info) installed with MySQL 5.5.9. When I try to create database
I get error
** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! uninitialized constant ActiveRecord::Base::Redmine /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:131:in `const_missing' /Users/softmine/Sites/redmine/config/initializers/10-patches.rb:6 /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in `load' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:622:in `load_application_initializers' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in `each' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in `load_application_initializers' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:176:in `process' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in `send' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in `run' /Users/softmine/Sites/redmine/config/environment.rb:20 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in `require' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:547:in `new_constants_in' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in `require' /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/tasks/misc.rake:4 /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
I'm new to ruby, so I have two questions. Is it ok to have two or more versions of gem installed (as shown above)? In other words, is it possible to get that error because of too many versions of particular gem installed? Second one, should I install mysql gem?
I've spent a day trying to get this work but with no success. Any help will be appreciated.
Regards
Piotr Jarmołowicz