Forum: Ruby on Rails possible to set gems path?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Johnny S. (Guest)
on 2009-01-31 13:50
(Received via mailing list)
I've installed ruby and rubygems on leopard. when i install a gem
successfully and run require "gemname" in irb it fails:

irb(main):001:0> require "P4"
LoadError: no such file to load -- P4
  from (irb):1:in `require'
  from (irb):1

Yet here it is installed:
>gem which P4
(checking gem p4ruby-1.0.7 for P4)

Should I set an env var? If so, which and where?

This topic is locked and can not be replied to.