[MacRuby-devel] µgem (notice I am using your Greek character!) question

Tim Rand timrandg at gmail.com
Fri Feb 13 09:35:27 PST 2009


Hi Matt,
First of all, thank you so much for working on the gem issue with macruby.
There is no more important work in the world, er universe, right now than
this--I mean it, from the bottom of my
frustrated-at-not-being-able-to-use-sqlite3-heart.
I am hoping you could comment on why sqlite3-ruby seems to install, but
still isn't functional.

Here is how I did with my first try at using µgem.
1. Installing rake via µgem appears to have worked! (this is hard to verify
because "require 'rake'" works in macirb even before installing with µgem).
2. Installing sqlite3 via µgem seems to have worked! (BUT "require
'sqlite3'" STILL FAILS in macirb).

How do you test gems installed via µgem? Where do they install to? Does that
path need to be added to the $: for macirb to find them? Sorry for the basic
questions...
Thanks, Tim


Here is my terminal screen:

Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin> sudo
./µgem install rake
[info] Installing `rake-0.8.3'
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin>
which rake
/usr/bin/rake
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin>
macgem which rake
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/rake.rb
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin> sudo
./µgem install sqlite3-ruby
Password:
[info] Installing `sqlite3-ruby-1.2.4'
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin>
macgem which sqlite3
Can't find sqlite3
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin>
macgem which sqlite3-ruby
Can't find sqlite3-ruby
Tim:~/Documents/References/Technical/Ruport Book and pics/microgem/bin>
macgem query --local

*** LOCAL GEMS ***

alloy-microgem (0.2.0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090213/49c48746/attachment.html>


More information about the MacRuby-devel mailing list