ruby_select and rvm

Ryan Schmidt ryandesign at macports.org
Wed May 19 18:46:03 PDT 2010


On May 19, 2010, at 15:08, David Baumgold wrote:

> Is there a way to seamlessly migrate Gems written for Ruby 1.8 to Ruby
> 1.9? For example, the rb-twitter module seems to be written for Ruby
> 1.8: is there some magic invocation like
> 
> $ sudo port -d install rb-twitter ruby.implementation=ruby19
> 
> that will allow me to install that module (and its dependencies) for
> Ruby 1.9? (I just tried that command, and it didn't work, as far as I
> could tell.)

Presumably a rb19-twitter port would just need to be created, by "svn copy"ing the rb-twitter port and making a few adjustments. At least that's how it works for python module ports.



More information about the macports-dev mailing list