Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Help installing rubygems on Tiger

Reply
Thread Tools

Help installing rubygems on Tiger

 
 
Joseph Alotta
Guest
Posts: n/a
 
      06-18-2005
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%


 
Reply With Quote
 
 
 
 
Chad Fowler
Guest
Posts: n/a
 
      06-18-2005
On 6/18/05, Joseph Alotta <(E-Mail Removed)> 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!)


 
Reply With Quote
 
 
 
 
Joseph Alotta
Guest
Posts: n/a
 
      06-18-2005

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

> On 6/18/05, Joseph Alotta <(E-Mail Removed)> 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.





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing 1.8.5 under OSX Tiger PPC Robert Nicholson Ruby 0 01-06-2007 04:34 PM
installing Java 5.0 on OS X Tiger spwpreston@gmail.com Java 7 11-16-2005 11:02 PM
help installing mysql-ruby on Tiger Joseph Alotta Ruby 1 06-19-2005 09:03 PM
[BUG] RubyGems: "No such file to load -- rubygems/builder" Erik Veenstra Ruby 4 02-04-2005 10:28 PM
Problems with fresh install of RubyGems on Ubuntu Linux: No suchfile to load -- rubygems/builder (LoadError) Trevor Ruby 5 01-29-2005 12:52 AM



Advertisments