8 Aug 2012 03:07
Re: Gem install or usage problem in shared environment
James Harrison <jam <at> jamandbees.net>
2012-08-08 01:07:52 GMT
2012-08-08 01:07:52 GMT
On Tue, Aug 7, 2012 at 5:50 PM, Bartosz Dziewoński <matma.rex <at> gmail.com> wrote:
2012/8/8 Tom Moulton <lists <at> ruby-forum.com>:> James Harrison wrote in post #1071601:It is fine as long as you're not trying to run multiple versions of
>> You're running ruby 1.8 and requiring libraries without first using:
>>
>> require "rubygems"
>
> I did set RUBYOPT=rubygems in the environmant
>
> Both the environment variable and the GEM_HOME variable are described in
>
> http://docs.rubygems.org/read/chapter/3/
>
> So what is so wrong doing it that way?
>
> What harm could happen from this method?
Ruby or Ruby installed via RVM. But when you do try it, you're in for
a world of hurt.
-- Matma Rex
Have you tried requiring rubygems first, to rule out the possibility of that being the problem?
RSS Feed