I'm trying set up rvm to manage multiple versions of Macruby. I want to develop 
on the release version but I want to test against the unreleased versions. 

Plus, it is become something of a quest to figure this all out. 

I'm hitting a problem where although I install different versions under rvm, 
the current version of Macruby is always the latest version. Worse, even if I 
have rvm set to an earlier version, scripts run under the latest version. 

I determined that the problem is caused by the `current` version symlinks.  The 
system macruby automatically defaults to the current version and it looks like 
some, but not all, rvm scripts also have the path to the latest ruby inserted 
into the redirection scripts.  That's a rvm problem but I've found that I can 
get things to work by manually swapping out the symlinks in the top of the 
Macruby.framework directory. 

I'm thinking of writing my own scripts to substitute or swap out the symlinks. 
I want to check if I need to do anything else bu swap out the 
`/Library/Frameworks/MacRuby.framework/Versions/Current` symlink or do I need 
to swap out something as well?

Alternatively, is there an existing method to control Macruby versions (with or 
without rvm?)

Thanks,
Shannon Love




_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to