Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alexjacobs

macrumors newbie
Original poster
Nov 16, 2009
1
0
This produced quite a mouthful of text.
I'm stuck on the error messages (in red) and wondering if I messed something up. Any advice would be very appreciated. Thank you.


Last login: Mon Nov 16 19:56:32 on ttys000
dust:~ Lex$ gem install rails
WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /Users/Lex/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Successfully installed activesupport-2.3.4
Successfully installed activerecord-2.3.4
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.4
Successfully installed actionmailer-2.3.4
Successfully installed activeresource-2.3.4
Successfully installed rails-2.3.4
7 gems installed
Installing ri documentation for activesupport-2.3.4...
Installing ri documentation for activerecord-2.3.4...
Installing ri documentation for rack-1.0.1...
Installing ri documentation for actionpack-2.3.4...
Installing ri documentation for actionmailer-2.3.4...
Installing ri documentation for activeresource-2.3.4...
Installing RDoc documentation for activesupport-2.3.4...
Installing RDoc documentation for activerecord-2.3.4...
Installing RDoc documentation for rack-1.0.1...
Installing RDoc documentation for actionpack-2.3.4...
Installing RDoc documentation for actionmailer-2.3.4...
Installing RDoc documentation for activeresource-2.3.4...


dust:~ Lex$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
dust:~ Lex$ ls
dust:~ Lex$ PATH=$PATH\://Users/Lex/.gem/ruby/1.8/bin
dust:~ Lex$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin://Users/Lex/.gem/ruby/1.8/bin

dust:~ Lex$ gem install rails
WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
/usr/bin aren't both writable.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/installer.rb:144: warning: Insecure world writable dir //Users/Lex in PATH, mode 040733
WARNING: You don't have /Users/Lex/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Successfully installed rails-2.3.4
1 gem installed
dust:~ Lex$
 
Those aren't errors, they're warnings. It installed. The warnings seem mostly caused by not having the proper permissions setup on your folders. Also, you'll probably want to prepend the commands with sudo so it had the proper rights to run the command.
Code:
sudo gem install rails
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.