The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Sharing gems in multiruby

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Davis

Posts: 651
Nickname: zenspider
Registered: Oct, 2004

Ryan Davis is a ruby nerd.
Sharing gems in multiruby Posted: Mar 27, 2007 12:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Ryan Davis.
Original Post: Sharing gems in multiruby
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Ryan Davis
Latest Posts From Polishing Ruby

Advertisement

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!!

Read: Sharing gems in multiruby

Topic: Slingshot: Desktop Apps via Rails Previous Topic   Next Topic Topic: An introduction to hashes

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use