You can either do...

Shoes.setup do
        gem 'gsl'
end

...which will download and install the gem, or you can take the approach of putting it your project, and requiring it from there.

I've actually got into the habit of unpacking all of the gems my programs depend on and put it into a /vendor directory within my project.

There are advantages and disadvantages to both approaches.

DZ


On Nov 3, 2008, at 2:08 PM, Christopher Small wrote:

Howdy -

I'm making a a GUI for a ruby program that I've written which uses the GNU Scientific Libraries (GSL) with ruby-gsl bindings. Normally, I am able to get acces to the GSL and bindings by doing

require "gsl"

When I try to include this in a Shoes.app block, I get "no such file to load -- gsl". Does anyone know how I would get this to work properly?

Thanks

Chris

Reply via email to