I did a "gem install payment", version 1.0.1. The require statement in
my controller:
require ''payment/authorize_net''
...returns a "no file to load" error.
I ended up copying the files from the gem''s lib subfolder to my
application''s lib folder and everything worked from there.
Doesn''t seem
right, though.
What am I missing with respect to properly requiring the gem from where
it is installed?
thanks.
c.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---