From: Garret Buell Date: 2008-01-02T14:57:28+09:00 Subject: Re: Shoes require On Jan 1, 2008 11:35 AM, Giles Bowkett wrote: > Shoes incorporates its own Ruby interpreter so you need to either give > it an explicit path to ActiveRecord's location or bundle ARec into a > nearby directory in Shoes-land. This is basically correct. As Shoes does indeed incorporate its own Ruby interpreter it also has its own collection of relevant gems already installed. Though there is no mechanism (yet) to install gems automatically you can manually install them into the nearby directory in Shoes-land which is ruby/lib. Basically what I did to get ActiveRecord working was I downloaded ActiveRecord and ActiveSupport from rubyforge.org. I'm using ActiveRecord 1.15.6 and ActiveSupport 1.4.4. These are the newest versions before the move to Rails 2.0. You could probably do it with the 2.0 versions but I'm sticking back. Then I copied the lib directories to the ruby/lib directory under shoes. If you do this you'll notice they fit right in and don't look unusual at all. After they are copied you can do a simple require 'active_record' and use it as normal from within shoes. The key thing to note here is that ActiveRecord depends on ActiveSupport. You can use this trick to install any gems under shoes as long as you also install their required dependencies. I'm guessing you'll also want sqlite working and there seems to be a problem with sqlite under windows so the solution right now is to download the newest sqlite3.dll from http://www.sqlite.org/sqlitedll-3_5_4.zip and put it in the same directory as the shoes.exe -Garret Buell