Topic: Using GSL in Rails

This is my first Rails application, so I apologize in advance if I ask anything too obvious.

I'm trying to use some GSL matrix tools in one of my controllers. I installed the GSL gem successfully and I can use it in irb using commands like, m = GSL::Matrix[3,4]. When I try to use those kinds of statements in my rails controller, I get a message like, 'uninitialized constant ImageController::GSL'.

What am I missing here? What's the right way to tell rails about the gem? I already have it in the gemfile.

Last edited by pseudopeach (2011-11-23 14:26:10)