On 25/09/2008, at 21:21, Dr Rebs Rebo wrote:

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"

ok, thanks for the info ...

regards,


r.





On Thu, Sep 25, 2008 at 7:44 PM, Raimon Fernandez <coder@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@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