MacRuby, error when using Sequel

吃可爱长大的小学妹 提交于 2019-12-02 03:54:24

What version of MacRuby do you run? Also, do you run a 32-bit Mac?

In my environment, 64-bit Intel mac running MacRuby trunk, I am able to install and require sequel.

$ /usr/local/bin/macruby -r rubygems -e "require 'sequel'; p 42"
42

As Eloy said, it is better to report MacRuby problems to our mailing-list or ticket trac instead. http://www.macruby.org/contact-us.html

MacRuby (like IronRuby) currently doesn't implement enough of the ruby language to work with Sequel. Sequel is tested on MRI (1.8 and 1.9), JRuby, and Rubinius, so you could try one of them.

Stephen Petschulat

I ran into similar issues and was able to get it working with the following combination:

MacRuby 0.8
sqlite3-ruby gem 1.3.2
sequel gem 3.18.0
OSX 10.6.5

The trick was uninstalling the 'sqlite3' gem and installing 'sqlite3-ruby'.

Since MacRuby is still in heavy development, I think it would be better if you would ask this question on the MacRuby-devel mailinglist. The people that know how to get Sequel to work on MacRuby (I know people have done so) are there too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!