Заметки Ruby программиста Всякие полезные наработки


Install ruby 1.9.3 with RVM and MacPorts

I have the following problem when i do just:

rvm install 1.9.3

It installs fine and works good except one bug during `cap deploy`:

/Users/pasha/.rvm/gems/ruby-1.9.3-p125@smartsourcing/gems/net-ssh-2.3.0/lib/net/ssh/buffer.rb:255: [BUG] Segmentation fault
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]

Here is similar ruby bug http://bugs.ruby-lang.org/issues/5559

I have tried many ways to avoid this bug, but nothing helps...

Except this one - you should run following command before ruby install:

export PATH=/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.rvm/bin # keep MacPorts out of PATH during compile

And then it works fine. Probably there is a some lib versions conflict...

Hope this helps...

Комментарии (0) Пинги (0)

Пока нет комментариев.

Leave a comment

Нет обратных ссылок на эту запись.