Sorta surprised this isn''t a FAQ, but...
Maybe this is not good practice, but I have a gem that is both installed
in the system and in vendor/gems. The vendor/gems copy has some local
mods. Seems like the only way I could find to forced that one to be
loaded for capistrano over the system one was to put:
$LOAD_PATH.insert 0,
"#{File.dirname(__FILE__)}/../vendor/gems/myfavoritegem/lib"
in deploy.rb.
Is that really the best way to do it? I guess I was sort of figuring
that vendor/gems would be preferred over the system gem library, in the
case of duplicates.
Thanks,
dwh
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---