install ruby19 and rubygems on Gentoo

  Ruby1.9.2 have released,but it's annoying on Gentoo,cause most ruby apps are based on ruby 1.8.
  First ,installing ruby19 is easy,add some options in portage configure files.
引用
RUBY_TARGETS="ruby19"
in /etc/make.conf
引用
echo "dev-lang/ruby" >>/etc/portage/package.keywords
,cause ruby19 is masked in Gentoo(from this,the ruby are not supported as good as python:)

  Then the rubygems,it's really hard,from mine,rubygems 1.3.7 just support ruby18,jruby.and i found out that the rubygem 1.3.7-r4 support ruby19,so just do like this:
引用
  emerge "=rubygems-1.3.7-r4"


 

猜你喜欢

转载自agile-boy.iteye.com/blog/747827
今日推荐