Sharing gems in multiruby
Published 2007-03-26 @ 22:11
Need to use multiruby with gems? Do what I do and share them with your existing gems:
% cd ~/.multiruby/install % rm -rf */lib/ruby/gems % for DIR in */lib/ruby; do > ln -s /usr/local/lib/ruby/gems $DIR/gems > done
Then test with something easy like:
% multiruby -rubygems -e 'require "inline"'
Remember, use this method only when you aren’t testing version dependent binary gems!!