PDA

View Full Version : Installing your Own Gem. HELP!



pkCode
03-31-2008, 07:09 PM
Dear all,

I have been trying desperately to install my own GEMS. I have contacted BH and they finally installed the GEM for me. I have then modified the .basch file and when I run the command gem query I see the gem.

Then I have included the ENV into my environment.rb, however every time I do require "money" I get errors.

Well when I put it in environment.rb the app crashes.
When I put it in the Controller it says that it can't find it.

Has anyone installed their own gems successfully? Please Help....

What am I doing wrong?

pkCode
03-31-2008, 10:01 PM
Also tested the following

irb
require 'rubygems'
==> true
require 'money'
==> true

gem query
returns money 1.7.1

I have noticed that .basch file is being loaded

however when I hit it from the website it's not reacting

also running the command gem update -y I get bunch of errors.

christoph
12-04-2008, 12:44 AM
did you get it too work, if yes. How did you manage it?
I experience the same problems