プロジェクト

全般

プロフィール

Vote #71081

完了

Release 1.3.0 does not detect rubytree with rubgems 1.8

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gems support_45
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
45
version_id:
42
issue_org_id:
9815
author_id:
1246
assigned_to_id:
1
comments:
12
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
36
ステータス-->[Closed]

説明

Same problem as #9798, but with the supported version of Ruby. So it's not a Ruby 1.9 issue.

Redmine keeps asking for rubytree even though it is already installed.

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...
redmine@helpdesk:~$ RAILS_ENV=production rake db:migrate
Missing these required gems:
  rubytree  >= 0

You're running:
  ruby 1.8.7.352 at /home/redmine/.rvm/rubies/ruby-1.8.7-p352/bin/ruby
  rubygems 1.8.10 at /home/redmine/.rvm/gems/ruby-1.8.7-p352, /home/redmine/.rvm/gems/ruby-1.8.7-p352@global

Run `rake gems:install` to install the missing gems.
redmine@helpdesk:~$ gem list

*** LOCAL GEMS ***

actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
bundler (1.0.21 ruby)
daemon_controller (0.2.6)
fastthread (1.0.7)
json (1.6.3)
passenger (3.0.11)
pg (0.12.0)
rack (1.1.2, 1.1.1)
rails (2.3.14)
rake (0.9.2)
rake-compiler (0.7.9)
rdoc (3.11)
rubytree (0.8.1)
redmine@helpdesk:~$ 

journals

...and commenting out the rubytree line in config/environment.rb allows migrations to run.
--------------------------------------------------------------------------------
I think it's a rubygems issue, because I don't have this problem with ruby 1.8.7 (2011-06-30 patchlevel 352) and rubygems 1.7.2.
--------------------------------------------------------------------------------
Can this maybe be related to #9463? That seems to cause an unrecognized _vendor/gems/*_ with Rubygems 1.8.x.
I came around this issue myself and was able to "fix" it by installing rubytree as a separate gem instead of utilizing the bundled one.
--------------------------------------------------------------------------------
Well, separately from this issue I also had to install the 'tree' gem, as well as 'coderay', both undocumented dependencies that caused runtime errors.

Oh, and I had to downgrade RubyGems to 1.6.2 to avoid an obsolete RubyGems warning message from making Rails crash, so that should probably be documented on the requirements page too.
--------------------------------------------------------------------------------
mathew murphy wrote:
> Well, separately from this issue I also had to install the 'tree' gem, as well as 'coderay', both undocumented dependencies that caused runtime errors.

These are shipped with the Redmine core and does not have to be installed (as gems) manually regularly (read: as long as you run Redmine with the versions [rubygems in particular] as outlined in [[RedmineInstall]]).

> Oh, and I had to downgrade RubyGems to 1.6.2 to avoid an obsolete RubyGems warning message from making Rails crash, so that should probably be documented on the requirements page too.

If you've downgraded rubygems to 1.6.x at first, you wouln't had to install these two gems at all since it looks like it is a Rubygems 1.8.x problem only.
--------------------------------------------------------------------------------
According to [[RedmineInstall]], 1.3.x requires Rails 2.3.14. but there's no note about needing a specific version of RubyGems for Rails 2.3.14, only for Rails 2.3.11.
--------------------------------------------------------------------------------
Same problem here, needed to make the workaround of the first comment to fix the problem..
--------------------------------------------------------------------------------
Same here. RVM, ruby 1.8.7.357, rubygems 1.8.15.
--------------------------------------------------------------------------------
The same problem exists for Redmine 1.3.1 (Should this be moved to a different ticket?).

<pre>
Missing these required gems:
rubytree >= 0

You're running:
ruby 1.8.7.334 at /usr/bin/ruby
rubygems 1.8.17 at /usr/lib/ruby/gems/1.8, /home/antolabs/.gem/ruby/1.8
</pre>

<pre>
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
Rails 2.3.14
</pre>

<pre>
# gem list --local

*** LOCAL GEMS ***

coderay (1.0.5)
i18n (0.6.0, 0.4.2)
rubytree (0.8.2)
tree (0.2.1)

</pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r9127.
--------------------------------------------------------------------------------
Jean, that worked. Thank You!
--------------------------------------------------------------------------------


related_issues

relates,Closed,9798,Release 1.3.0 does not detect rubytree under ruby 1.9.3p0 / rails 2.3.14
relates,Closed,9463,vendor/gems/*/.specification and rubygems 1.8

Admin Redmine さんが約4年前に更新

  • カテゴリGems support_45 にセット
  • 対象バージョン1.3.2_42 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0