You should always use macgem when working with macruby. However, Sinatra isn't running yet as erb isn't fully working neither rack and we don't have a compatible webserver ;)
You will have to wait a little before that works, but as we are going through the std libs, things should start looking better. - Matt On Tue, Sep 15, 2009 at 2:13 PM, Conrad Taylor <conra...@gmail.com> wrote: > On Thu, Sep 10, 2009 at 11:24 AM, Matt Aimonetti > <mattaimone...@gmail.com>wrote: > >> Latest trunk code available as an unofficial pkg ready to install: >> http://rubyurl.com/5K3W >> >> Lots of bug fixes, improved macgem (not finished yet but you can install >> gems and load them using `gem 'gem_name'; require 'whatever'`). >> Things are looking pretty good on trunk :) >> > > Hi, should one use 'macgem' instead of 'gem'? In any case, I wanted to > give it a try by installing sinatra: > > sudo macgem install sinatra > > and I received the following error message: > > ERROR: While executing gem ... (ArgumentError) > wrong number of arguments (1 for 2) > > In a clean installation, the following directory doesn't exist but > attempting to install something creates the directory and the installation > of the gem fails: > > /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/Gems/1.9.0 > > Now, when I tried to install the gem again, everything worked as expected. > For example, > > $ sudo macgem install sinatra > Password: > Successfully installed rack-1.0.0 > Successfully installed sinatra-0.9.4 > 2 gems installed > > -Conrad > > >> >> - Matt >> >> _______________________________________________ >> MacRuby-devel mailing list >> MacRuby-devel@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > >
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel