プロジェクト

全般

プロフィール

Vote #71068

完了

Release 1.3.0 does not detect rubytree under ruby 1.9.3p0 / rails 2.3.14

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
45
version_id:
40
issue_org_id:
9798
author_id:
6987
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

C:\redmine>rake db:migrate RAILS_ENV=production
Missing these required gems:
  rubytree  >= 0

You're running:
  ruby 1.9.3.0 at C:/Ruby193/bin/ruby.exe
  rubygems 1.8.11 at C:/Ruby193/lib/ruby/gems/1.9.1, C:/Documents and Settings/merlin/.gem/ruby/1.9.1

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



C:\redmine>rake gems:install
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...


                     (rerunning "rake migrate" shows the same error as above)



C:\redmine>gem list

*** LOCAL GEMS ***

actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
bigdecimal (1.1.0)
cgi_multipart_eof_fix (2.5.0)
gem_plugin (0.2.3)
i18n (0.6.0)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
mongrel (1.1.5 x86-mingw32)
rack (1.1.2, 1.1.1)
rails (2.3.14)
rake (0.9.2.2)
rdoc (3.9.4)
rubytree (0.8.1)



C:\redmine>ruby --version
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

journals

Redmine version:1.3.0 does not support Ruby 1.9; version:1.4.0 will.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thanks, http://www.redmine.org/projects/redmine/wiki/RedmineInstall/diff?version=141&version_from=140&commit=View+differences got me a bit confused as to which version requires what.
--------------------------------------------------------------------------------
Not entirely sure, but r8214 should have fixed this?
--------------------------------------------------------------------------------
Indeed. The gem is no longer needed. It was heavily monkey-patched and less than 10% of its code was used. And the monkey-patch code was using syntax that is deprecated in recent rubytree version.
--------------------------------------------------------------------------------
Hello,

I'm on windows with the following versions of the program :

ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
gem 1.8.16
gem list :
actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
mysql (2.8.1 x86-mingw32)
rack (1.1.3)
rails (2.3.14)
rake (0.8.7)
rubytree (0.8.2)

I don't know Ruby, and I try to follow the instructions given on the install page (http://www.redmine.org/projects/redmine/wiki/RedmineInstall).

I'm stuck on the step 5 :

rake generate_session_store -> No error, just "NOTE" like this :
D:\site\redmine>rake generate_session_store
(in D:/site/redmine)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from D:/site/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from D:/site/redmine/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:91.
etc.

After that I try :
rake db:migrate
I get the same "NOTE:" rows, and then :
Please install RDoc 2.4.2+ to generate documentation.
Missing these required gems:
rubytree >= 0

You're running:
ruby 1.8.7.358 at C:/Ruby187/bin/ruby.exe
rubygems 1.8.16 at C:/Ruby187/lib/ruby/gems/1.8, C:/Documents and Settings/Olivier/.gem/ruby/1.8

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

As you can see above, rubytree is installed.
So, what can I do ?

Thanks a lot.
--------------------------------------------------------------------------------
Re,

Sorry, I followed steps described on the following page http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache and everything seems to be ok now.

I probably mixed bad versions of components.
Nevertheless, I'm finally using version 1.0.4 of redmine, not the last one.

Thanks.
--------------------------------------------------------------------------------


related_issues

relates,Closed,4050,Ruby 1.9 support
relates,Closed,9815,Release 1.3.0 does not detect rubytree with rubgems 1.8

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0