Help installing rubygems on Tiger

Discussion in 'Ruby' started by Joseph Alotta, Jun 18, 2005.

  1. Greetings,

    I am trying to install rubygems on a clean install of Tiger. It
    gives me the message that rubygems is missing. Well, that is what I
    am trying to install. Please give me some help.


    Joe.





    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% setenv
    PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/
    Users/jja/bin:./
    SECURITYSESSIONID=72833b0
    HOME=/Users/jja
    SHELL=/bin/bash
    USER=jja
    __CF_USER_TEXT_ENCODING=0x1F5:0:0
    TERM_PROGRAM=Apple_Terminal
    TERM_PROGRAM_VERSION=133
    TERM=xterm-color
    HOSTTYPE=powermac
    VENDOR=apple
    OSTYPE=darwin
    MACHTYPE=powerpc
    SHLVL=1
    PWD=/Users/jja/Desktop/gems/rubygems-0.8.10
    LOGNAME=jja
    GROUP=jja
    HOST=PowerBook-G4.local
    RUBYOPT=rrubygems
    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ls
    #README# README TODO examples
    pkgs scripts
    #setup.rb# Rakefile bin gemspecs post-
    install.rb setup.rb
    ChangeLog Releases doc lib
    redist test
    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% which ruby
    /usr/bin/ruby
    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby -v
    ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby setup.rb
    ruby: No such file to load -- rubygems (LoadError)
    [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja%
    Joseph Alotta, Jun 18, 2005
    #1
    1. Advertising

  2. Joseph Alotta

    Chad Fowler Guest

    On 6/18/05, Joseph Alotta <> wrote:
    > Greetings,
    >=20
    > I am trying to install rubygems on a clean install of Tiger. It
    > gives me the message that rubygems is missing. Well, that is what I
    > am trying to install. Please give me some help.
    >=20
    >=20
    > Joe.
    >=20
    >=20
    >=20
    >=20
    >=20
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% setenv
    > PATH=3D/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/
    > Users/jja/bin:./
    > SECURITYSESSIONID=3D72833b0
    > HOME=3D/Users/jja
    > SHELL=3D/bin/bash
    > USER=3Djja
    > __CF_USER_TEXT_ENCODING=3D0x1F5:0:0
    > TERM_PROGRAM=3DApple_Terminal
    > TERM_PROGRAM_VERSION=3D133
    > TERM=3Dxterm-color
    > HOSTTYPE=3Dpowermac
    > VENDOR=3Dapple
    > OSTYPE=3Ddarwin
    > MACHTYPE=3Dpowerpc
    > SHLVL=3D1
    > PWD=3D/Users/jja/Desktop/gems/rubygems-0.8.10
    > LOGNAME=3Djja
    > GROUP=3Djja
    > HOST=3DPowerBook-G4.local
    > RUBYOPT=3Drrubygems
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ls
    > #README# README TODO examples
    > pkgs scripts
    > #setup.rb# Rakefile bin gemspecs post-
    > install.rb setup.rb
    > ChangeLog Releases doc lib
    > redist test
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% which ruby
    > /usr/bin/ruby
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby -v
    > ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby setup.rb
    > ruby: No such file to load -- rubygems (LoadError)
    > [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja%
    >=20
    >=20


    Hi Joe!

    The problem is that you have RUBYOPT set to require rubygems, but you
    haven't yet installed RubyGems.

    % setenv RUBYOPT # Assuming this is how you blank out a variable in
    csh---I haven't used it in a while
    % sudo ruby setup.rb



    --=20

    Chad Fowler
    http://chadfowler.com
    http://rubycentral.org=20
    http://rubygarden.org=20
    http://rubygems.rubyforge.org (over 500,000 gems served!)
    Chad Fowler, Jun 18, 2005
    #2
    1. Advertising

  3. On Jun 18, 2005, at 2:58 PM, Chad Fowler wrote:

    > On 6/18/05, Joseph Alotta <> wrote:
    >
    >> Greetings,
    >>
    >> I am trying to install rubygems on a clean install of Tiger. It
    >> gives me the message that rubygems is missing. Well, that is what I
    >> am trying to install. Please give me some help.
    >>
    >>
    >> Joe.
    >>
    >>
    >>
    >>
    >>
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% setenv
    >> PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/
    >> Users/jja/bin:./
    >> SECURITYSESSIONID=72833b0
    >> HOME=/Users/jja
    >> SHELL=/bin/bash
    >> USER=jja
    >> __CF_USER_TEXT_ENCODING=0x1F5:0:0
    >> TERM_PROGRAM=Apple_Terminal
    >> TERM_PROGRAM_VERSION=133
    >> TERM=xterm-color
    >> HOSTTYPE=powermac
    >> VENDOR=apple
    >> OSTYPE=darwin
    >> MACHTYPE=powerpc
    >> SHLVL=1
    >> PWD=/Users/jja/Desktop/gems/rubygems-0.8.10
    >> LOGNAME=jja
    >> GROUP=jja
    >> HOST=PowerBook-G4.local
    >> RUBYOPT=rrubygems
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ls
    >> #README# README TODO examples
    >> pkgs scripts
    >> #setup.rb# Rakefile bin gemspecs post-
    >> install.rb setup.rb
    >> ChangeLog Releases doc lib
    >> redist test
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% which ruby
    >> /usr/bin/ruby
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby -v
    >> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja% ruby setup.rb
    >> ruby: No such file to load -- rubygems (LoadError)
    >> [PowerBook-G4:~/Desktop/gems/rubygems-0.8.10] jja%
    >>
    >>
    >>

    >
    > Hi Joe!
    >
    > The problem is that you have RUBYOPT set to require rubygems, but you
    > haven't yet installed RubyGems.
    >
    > % setenv RUBYOPT # Assuming this is how you blank out a variable in
    > csh---I haven't used it in a while
    > % sudo ruby setup.rb





    Hi Chad,

    That did it. Thank you.


    Joe.
    Joseph Alotta, Jun 18, 2005
    #3
    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:
    7
    Views:
    504
    Scott Ellsworth
    Nov 16, 2005
  2. Trevor
    Replies:
    5
    Views:
    570
    Bill Kelly
    Jan 29, 2005
  3. Erik Veenstra
    Replies:
    4
    Views:
    807
    Austin Ziegler
    Feb 4, 2005
  4. Joseph Alotta

    help installing mysql-ruby on Tiger

    Joseph Alotta, Jun 18, 2005, in forum: Ruby
    Replies:
    1
    Views:
    96
    Joseph Alotta
    Jun 19, 2005
  5. Robert Nicholson
    Replies:
    0
    Views:
    110
    Robert Nicholson
    Jan 6, 2007
Loading...

Share This Page