rubygems only runs as root

Discussion in 'Ruby' started by jzakiya@mail.com, Oct 22, 2006.

  1. Guest

    Loaded the lastest rubygems (0.9.0) as root, like always,
    but in my USER account I can't see it anymore. I have no
    problem doing this on my laptop. The only difference is I'm
    using ruby 1.8.5 in my USER account, while the root has 1.8.4.

    I'm using PCLinuxOS 0.9.2 on my desktop and 0.9.3a on the laptop.

    In both cases gem was placed in /usr/bin/gem and the PATH is set
    to see this dir in both case. But when I run the gem command from my
    desktop I get the following message:

    $ /usr/bin/gem
    /usr/bin/gem:10: unitialized constant Gem (NameError)

    or

    $ gem
    bash: /usr/local/bin/gem: No such file or directory
     
    , Oct 22, 2006
    #1
    1. Advertising

  2. Lyle Johnson Guest

    On 10/22/06, <> wrote:

    > Loaded the lastest rubygems (0.9.0) as root, like always,
    > but in my USER account I can't see it anymore. I have no
    > problem doing this on my laptop. The only difference is I'm
    > using ruby 1.8.5 in my USER account, while the root has 1.8.4.


    The 'gem' command is just a front-end to code in the RubyGems library,
    so you probably need to install RubyGems under your user account copy
    of Ruby (the 1.8.5 installation) as well.
     
    Lyle Johnson, Oct 22, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,279
  2. Trevor
    Replies:
    5
    Views:
    602
    Bill Kelly
    Jan 29, 2005
  3. Erik Veenstra
    Replies:
    4
    Views:
    894
    Austin Ziegler
    Feb 4, 2005
  4. Jose Marques
    Replies:
    3
    Views:
    395
    Jose Marques
    Apr 21, 2005
  5. Eric Roscher
    Replies:
    3
    Views:
    391
    Eric Roscher
    Nov 24, 2009
Loading...

Share This Page