Hi Jordon,
Thanks for the idea. I tried it (arch -arch i386 macirb), but get the
same error.
Tim
Jordon suggested:
"does not contain a version for the current architecture" sounds like
a 32-bit vs. 64-bit problem to me.
MacRuby 0.4 has both i386 and x86_64 archs for macruby and macirb, on
a capa
On 25/03/2009, at 6:03 AM, Brian Chapados wrote:
Since you have an NSData object, you should be able to convert it to a
String (NSString) and then use unpack. For example:
socket_port = NSSocketPort.alloc.initWithTCPPort(1)
addr = socket_port.address
addr_str = NSString.alloc.initWithData
Here is the file:
http://github.com/mattetti/macruby-httpwrapper/tree/master
I noticed I gave you some wrong info, currently the delegator doesn't
receive all delegated messages. Instead it gets called with a custom method
and the response gets passed to it. This currently only happens when the
do
Hello List,
I used the tutorial and tried to put the Macruby.framework into my
Bundle.
The executable already contains the right "path" to the framework and
I copied the Run Script from "Embeded Mac Ruby Target" to my regular
target, so the framework is in the bundle.
(Why is this an extra
se, @translator=nil,
@transaction_active=false>
Can anyone offer an idea about how they might try to patch this to
work
with macruby? I know an alternative would be CoreData--but it is
too
cumbersome for me.
Thanks,
Tim
___
MacRuby-devel mailing list
MacRuby-devel@lists.macos
et to NSNull, and the driver fails
>> to load. In ruby (1.9.0) the driver loads via the Native driver.
>>
>> irb19 session:
>> >> db = SQLite3::Database.new("/Users/Tim/Desktop/newdb")
>> => #> @driver=#> @authorizer={}, @busy_handler={}, @trace={}>,
>> @statement_factory=SQLite3::Statement,
the sqlite3 gem uses a native C extension which needs to compiled for your
system. (usually done when installed via rubygems)
The installation will fail if you use macgem, probably due to some IO issues
and the lack of support of C extension.
Someone should look into writing a wrapper for macruby
Can any kind macruby experts help me get sqlite3 gem working with macruby?
sqlite3-ruby-1.2.4 ruby gem works in ruby 1.9.0. So I think it should work
in macruby also...
>From macirb I added the path to the gem:
$: << "path/to/the/sqlite3-ruby-1.2.4/lib"
require 'sqlite3.rb' # => true
$db = SQL
#241: NSMutableSet#merge fails
--+-
Reporter: kou...@… | Owner: lsansone...@…
Type: defect| Status: new
Priority: major | Milestone: MacRuby 0
#193: exec() does not work on MacRuby
+---
Reporter: vincent.isamb...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker
10 matches
Mail list logo