Project

General

Profile

Installation problem of 1.2.1 on OS X 10.5

Added by Rob Gillan over 12 years ago

Hello,

We've been fighting our way through installation of Redmine 1.2.1 on OS X 10.5, and after getting Ruby/Rails etc. upgraded and version compatibility fixed, we now are running into a recursive loop when trying to run: RAILS_ENV=production rake db:migrate

Here's the output:

dev:redmine-1.2.1 root# RAILS_ENV=production rake db:migrate
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated. Please use 'task :t, [args] => [deps]' instead.
at /usr/local/redmine-1.2.1/lib/tasks/email.rake:170
Missing these required gems:
rubytree >= 0

You're running:
ruby 1.8.7.174 at /usr/local/bin/ruby
rubygems 1.8.10 at /usr/local/lib/ruby/gems/1.8, /var/root/.gem/ruby/1.8

Run `rake gems:install` to install the missing gems.
dev:redmine-1.2.1 root# rake gems:install
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated. Please use 'task :t, [args] => [deps]' instead.
at /usr/local/redmine-1.2.1/lib/tasks/email.rake:170
gem install rubytree --version ">= 0"
file 'COPYING,API-CHANGES' not found
file 'COPYING,API-CHANGES' not found ========================================================================

Thank you for installing rubytree.
WARNING: SIGNIFICANT API CHANGE in 0.8.0 !
------------------------------------------
Please note that as of 0.8.0 the CamelCase method names are DEPRECATED.
The new method names follow the ruby_convention (separated by '_').
The old CamelCase methods still work (a warning will be displayed),
but may go away in the future.
Details of the API changes are documented in the API-CHANGES file.

========================================================================
Successfully installed rubytree-0.8.1
1 gem installed
Installing ri documentation for rubytree-0.8.1...
Installing RDoc documentation for rubytree-0.8.1...
dev:redmine-1.2.1 root# RAILS_ENV=production rake db:migrate
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated. Please use 'task :t, [args] => [deps]' instead.
at /usr/local/redmine-1.2.1/lib/tasks/email.rake:170
Missing these required gems:
rubytree >= 0

You're running:
ruby 1.8.7.174 at /usr/local/bin/ruby
rubygems 1.8.10 at /usr/local/lib/ruby/gems/1.8, /var/root/.gem/ruby/1.8

Run `rake gems:install` to install the missing gems.
dev:redmine-1.2.1 root#

The gem list shows rubytree is there. The path is set correctly to the right ruby/rails/rake versions. Any help very much appreciated (we're Ruby newbies)

Thanks
Rob

dev:redmine-1.2.1 root# gem list

  • LOCAL GEMS ***

actionmailer (2.3.12, 2.3.11)
actionpack (2.3.12, 2.3.11)
activerecord (2.3.12, 2.3.11)
activeresource (2.3.12, 2.3.11)
activesupport (2.3.12, 2.3.11)
arel (2.2.1)
bcrypt-ruby (3.0.1)
builder (3.0.0)
bundler (1.0.18)
cgi_multipart_eof_fix (2.5.0)
cheat (1.2.1)
daemon_controller (0.2.6)
daemons (1.0.10)
erubis (2.7.0)
eventmachine (0.12.10)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0, 0.4.2)
mail (2.3.0)
mime-types (1.16)
mongrel (1.1.5)
multi_json (1.0.3)
mysql (2.8.1)
nokogiri (1.3.3)
passenger (3.0.9)
polyglot (0.3.2)
rack (1.1.2, 1.1.1, 1.0.1)
rack-cache (1.0.3)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (2.3.12, 2.3.11)
rake (0.9.2, 0.8.7)
rdoc (3.9.4, 3.8)
rspec (1.2.9)
rubygems-update (1.8.10, 1.6.0)
rubytree (0.8.1)
sprockets (2.0.0)
sqlite3-ruby (1.2.5)
thin (1.2.4)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.29)


Replies (2)

RE: Installation problem of 1.2.1 on OS X 10.5 - Added by Rob Gillan over 12 years ago

Seems it was multiple versions of Rake that was stopping this working. It for some reason was not finding rubytree. Once v0.8.7 was removed the db:migrate script would run. Go figure. A non Ruby-newbie might have had less trouble ;)

RE: Installation problem of 1.2.1 on OS X 10.5 - Added by Hmmzis Antonovich about 12 years ago

Hi,

I'm having the same problem on Windows 7 and redmine 1.3.0. The rubytree gem is in the gems list but the db:migrate step is still failing with the below. Is there a specific version of that gem that has to be used or is there another component that is missing from the list (below) or has the wrong version?

Thanks in advance,
hmmzis

Missing these required gems:
rubytree >= 0

You're running:
ruby 1.8.7.357 at C:/Ruby187/bin/ruby.exe
rubygems 1.8.15 at C:/Ruby187/lib/ruby/gems/1.8, C:/Users/aaa/.gem/ruby/1.8

Run `rake gems:install` to install the missing gems.

C:\redmine\redmine-1.3.0>gem list

  • LOCAL GEMS ***

actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
arel (3.0.0)
builder (3.0.0)
cgi_multipart_eof_fix (2.5.0)
erubis (2.7.0)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.1)
mail (2.4.1)
mime-types (1.17.2)
mongrel (1.1.5 x86-mingw32)
multi_json (1.0.4)
polyglot (0.3.3)
rack (1.1.0)
rack-cache (1.1)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (2.3.14)
rake (0.9.2.2)
rdiscount (1.6.8)
rubygems-update (1.8.15)
rubytree (0.8.2)
sprockets (2.1.2)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31)

    (1-2/2)