[MacRuby-devel] MacRuby tutorial

Dr Rebs Rebo rebotfc at googlemail.com
Thu Sep 25 12:21:13 PDT 2008


Raimon I don't think the sqlite will work as it is a gem in the ruby gem
environment,
I tried installing it in macgem and it seems to install but when requiring
it I get this error:

"LoadError: no such file to load -- base64"


On Thu, Sep 25, 2008 at 7:44 PM, Raimon Fernandez <coder at montx.com> wrote:

> Hi,
>
> On 25/09/2008, at 20:01, Laurent Sansonetti wrote:
>
> > Hi,
> >
> > On Sep 25, 2008, at 2:02 AM, Raimon Fernandez wrote:
> >
> >> Hello,
> >>
> >> I'm trying the MacRubyTutorial, I'm following very detail, but the
> >> result is not the expected, I can see the window, but when I click on
> >> the button, nothing happens.
> >>
> >> I'm sure that I did all, but it's not working ...
> >>
> >> Any idea ?
> >>
> >> Do you know where I can obtain more MacRuby tutorials ?
> >
> > FYI, a new MacRuby tutorial in being written at the moment and we
> > expect to publish it very soon.
>
> Great !
>
> An EDT ?
>
> It would be helpful if there are some examples about using it with a
> database (sqlite,postgresql,...)
>
> I'm having problems using the require command, in the irb it works:
>
> MacBook-Pro-Rai:~ rai$ irb
>  >> require 'sqlite3'
> => true
>  >> db = SQLite3::Database.new("pepe.db")
> => #<SQLite3::Database:0x52cec0 @translator=nil,
> @type_translation=false, @results_as_hash=false,
> @driver=#<SQLite3::Driver::Native::Driver:0x523c30 @trace={},
> @busy_handler={}, @authorizer={}, @callback_data={}>,
> @transaction_active=false, @statement_factory=SQLite3::Statement,
> @closed=false, @handle=#<SWIG::TYPE_p_sqlite3:0x523ba4>>
> ...
>
> thanks for this great product !
>
> regards,
>
>
> raimon fernandez
>
>
>
> > Laurent
> > _______________________________________________
> > MacRuby-devel mailing list
> > MacRuby-devel at lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-devel/attachments/20080925/9f3d3874/attachment.html 


More information about the MacRuby-devel mailing list