Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 16:38:20 +0000
From:      kiwao <meta@vmeta.jp>
To:        Steve Wills <swills@freebsd.org>
Cc:        "ports@freebsd.org" <ports@freebsd.org>, "ruby@freebsd.org" <ruby@freebsd.org>
Subject:   Re: rubygems not working with ruby 2.2?
Message-ID:  <0000014bfa406944-0cf8abb8-f456-4565-893b-4d3c52e2a7ea-000000@us-west-2.amazonses.com>
In-Reply-To: <20150305142416.GA18371@mouf.net>
References:  <0000014bc67d7e70-7e53f2f6-3f62-4eb2-a1ac-22bc8f082a63-000000@us-west-2.amazonses.com> <0000014be94141b2-60d1f70b-ffcb-40dc-9b0f-3c9e0001b436-000000@us-west-2.amazonses.com> <20150305142416.GA18371@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Steve

Thanks for your work and information.  I'm waiting it'll be committed.

2015/03/05 23:24$B!"(BSteve Wills <swills@freebsd.org> $B$N%a%C%;!<%8(B:

> Hi,
> 
> Yep, I'm aware, there's an update to devel/ruby-gems pending, see:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197083
> 
> Steve
> 
>> On Thu, Mar 05, 2015 at 09:25:43AM +0000, Koichiro IWAO wrote:
>> Reproduced in clean environment.
>> 
>> I think devel/ruby-gems is too old and needs updating.
>> ports version is 1.8.30 and the latest rubygems release is 2.4.6[1].
>> 
>> [1] https://github.com/rubygems/rubygems/releases
>> 
>> # confirm default ruby version is set to 2.2
>> grep DEFAULT_VERSIONS /etc/make.conf
>> DEFAULT_VERSIONS=    ruby=2.2 perl5=5.20
>> 
>> # remove all pkgs
>> pkg remove -fa
>> 
>> # update ports tree
>> portsnap fetch update
>> 
>> # install ruby and some rubygem- ports
>> make -C /usr/ports/lang/ruby22
>> make -C /usr/ports/devel/rubygem-rake
>> (snip)
>> ===>   rubygem-rake-10.4.2 depends on file: /usr/local/bin/gem22 - found
>> ===>   rubygem-rake-10.4.2 depends on file: /usr/local/bin/ruby22 - 
>> found
>> ===>  Configuring for rubygem-rake-10.4.2
>> ===>  Building for rubygem-rake-10.4.2
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1960:in 
>> `block (2 levels) in to_yaml': stack level too deep (SystemStackError)
>>    from /usr/local/lib/ruby/2.2/psych/coder.rb:36:in `map'
>>    from 
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1959:in 
>> `block in to_yaml'
>>    from /usr/local/lib/ruby/2.2/psych/deprecated.rb:19:in `call'
>>    from /usr/local/lib/ruby/2.2/psych/deprecated.rb:19:in `block in 
>> quick_emit'
>>    from 
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1960:in 
>> `block (2 levels) in to_yaml'
>>    from /usr/local/lib/ruby/2.2/psych/coder.rb:36:in `map'
>>    from 
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1959:in 
>> `block in to_yaml'
>>    from /usr/local/lib/ruby/2.2/psych/deprecated.rb:19:in `call'
>>     ... 9619 levels...
>>    from 
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/command_manager.rb:147:in 
>> `process_args'
>>    from 
>> /usr/local/lib/ruby/site_ruby/2.2/rubygems/command_manager.rb:117:in 
>> `run'
>>    from /usr/local/lib/ruby/site_ruby/2.2/rubygems/gem_runner.rb:65:in 
>> `run'
>>    from /usr/local/bin/gem22:30:in `<main>'
>> ===> Compilation failed unexpectedly.
>> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure 
>> to
>> the maintainer.
>> *** Error code 1
>> 
>> -- 
>> `whois vmeta.jp | nkf -w`
>> meta <meta@vmeta.jp>
>> _______________________________________________
>> freebsd-ruby@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
>> To unsubscribe, send any mail to "freebsd-ruby-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0000014bfa406944-0cf8abb8-f456-4565-893b-4d3c52e2a7ea-000000>