Redmine doesn't works with Ruby 1.8.6
Added by Alexey Palazhchenko almost 15 years ago
Hi,
ruby-openid 2.1.8 is broken for Ruby 1.8.6. Should we remove it from RedmineInstall?
ruby-1.8.6-p383: ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-linux] (in /home/aleksi/tmp/ruby-openid) All dependencies seem to be installed. /home/aleksi/.rvm/ruby-1.8.6-p383/bin/ruby -I"lib:lib:test" -rtestutil "/home/aleksi/.rvm/gems/ruby/1.8.6/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/test_sreg.rb" "test/test_server.rb" "test/test_linkparse.rb" "test/test_kvform.rb" "test/test_openid_yadis.rb" "test/test_responses.rb" "test/test_checkid_request.rb" "test/test_kvpost.rb" "test/test_xrires.rb" "test/test_xrds.rb" "test/test_oauth.rb" "test/test_idres.rb" "test/test_trustroot.rb" "test/test_message.rb" "test/test_stores.rb" "test/test_cryptutil.rb" "test/test_yadis_discovery.rb" "test/test_accept.rb" "test/test_urinorm.rb" "test/test_nonce.rb" "test/test_parsehtml.rb" "test/test_filters.rb" "test/test_fetchers.rb" "test/test_consumer.rb" "test/test_discovery_manager.rb" "test/test_associationmanager.rb" "test/test_extras.rb" "test/test_ax.rb" "test/test_xri.rb" "test/test_discover.rb" "test/test_extension.rb" "test/test_association.rb" "test/test_pape.rb" "test/test_dh.rb" "test/test_util.rb" ./lib/openid/yadis/accept.rb:18:in `generate_accept_header': Invalid preference factor: 3.0 (ArgumentError) from ./lib/openid/yadis/accept.rb:10:in `each' from ./lib/openid/yadis/accept.rb:10:in `generate_accept_header' from ./lib/openid/yadis/constants.rb:14 from ./lib/openid/yadis/discovery.rb:4:in `require' from ./lib/openid/yadis/discovery.rb:4 from ./lib/openid/consumer/discovery.rb:8:in `require' from ./lib/openid/consumer/discovery.rb:8 from ./lib/openid/consumer/idres.rb:4:in `require' ... rake aborted!
Replies (2)
RE: Redmine doesn't works with Ruby 1.8.6 - Added by Gregor Schmidt over 13 years ago
In fact, it seems to be related to an incompatibility of certain 1.8.6 versions and GCC greater or equal 4.4.
It may be easily tested using
ruby -e 'p 0.3'
If everything works, this should of course print 0.3
. If the above error occurs, it will print 3.0
. The error should be fixed in the latest 1.8.6 release and of course in 1.8.7 and l.9.2.
P.S.: I know that I'm too late to the party, but I came here with the help of Google myself, so I wanted to leave a comment for others.
RE: Redmine doesn't works with Ruby 1.8.6 - Added by Yousri Yan over 12 years ago
this problem happen again on
centos 5.8 ruby1.8.7 gcc4.4.6