File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes gem directory not find Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Ruby
Reply Bookmark "gem directory not find" Watch "gem directory not find" New topic
Author

gem directory not find

Sam Porwal
Greenhorn

Joined: Oct 11, 2011
Posts: 1
Hi All,
I am new in Ruby.This is my first post in this forum and hoping
my problem will get resolved.

[root@server ~]# which ruby
/usr/bin/ruby
[root@server ~]# which gem
/usr/bin/which: no gem in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/usr/local/nz/bin
[root@smqa-devdb3 ~]# gem list
bash: gem: command not found
[root@server ~]# ruby -v
ruby 1.8.5 (2006-08-25) [x86_64-linux]

How I can install gems? I want to install gems. I am able to run all
ruby scripts like test.rb.

Please help me out.

Thanks!
Mohamed Sanaulla
Bartender

Joined: Sep 08, 2007
Posts: 2693

Really late though, but found an useful documentation on installing gem in the RubyGem documentation manual here


Mohamed Sanaulla | My Blog
 
 
subject: gem directory not find
 
Threads others viewed
ERROR: Error installing mongrel
gem installation error
Ruby on Rails question: yaml problem with scaffold generation
classnotfound Java->mysql jdbc problem!
ruby script/server is not working
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com