Loaded gem money but not found

I loaded the money gem (Ruby 1.9.1), but it is not found.
$sudo gem install money -v 2.1.4

Any ideas?

When I hit my webapp in a browser, I get this in the tomcat logs.

What is up with money module?


/home/user/.rvm/rubies/ruby-1.9.1-p431/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require': no such file to load -- money (LoadError) from /home/user/.rvm/rubies/ruby-1.9.1-p431/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
from
/home/user/projects/access/mod/mod-common/trunk/kbr/web_reports/cgi/RC_Helper_Html.rb:7:in
<top (required)>' from /home/user/projects/access/mod/mod-common/trunk/kbr/web_reports/cgi/RC_Home.rb:2:inrequire’
from
/home/user/projects/access/mod/mod-common/trunk/kbr/web_reports/cgi/RC_Home.rb:2:in
`’
[Mon Jun 03 14:00:40 2013] [error] [client 127.0.0.1] Premature end of
script headers: RC_Home.rb

J. V. [email protected] wrote:

I loaded the money gem (Ruby 1.9.1), but it is not found.
$sudo gem install money -v 2.1.4

Any ideas?

Since you’re using per-user rvm, DON’T sudo gem install. That uses the
ruby that is available to root, which is likely NOT the ruby or gem
space you want, since you are using per-user rvm.

Seriously.