On 4/21/2011 4:57 PM, Matt Harrison wrote:
I've just tried setting up a new development machine and I'm stuck installing
the ffi
gem for ruby.
According to a bug I found (can't find it now I'm afraid) the gentoo devs do not
support installing gems via the gem command and directed the user to use the
dev-ruby/ffi package. Unfortnately, that package is absolutely ancient and
unusable.
Anyway, I've got the ffi library install from portage, but when I try to `gem
install
ffi`, I get the output seen in the attachement.
The same gem installs just fine on an ubuntu box, but...well it's ubuntu and I
don't
want to use that (besides it's just a VM).
I'd really like to get this fixed so I can get started on a new project.
Grateful for any help
Matt
Install RVM, make it part of your shell, then install the ruby and gems
of your choice. That way you leave the system Ruby alone and can develop
with the versions you want. You can even do multiple versions of ruby
and various gems for working on many different projects at once.
https://rvm.beginrescueend.com/rvm/install/
It really is the simplest way to build a dev environment and maintain
it for Ruby.
kashani