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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
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
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3054
    
  33

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


Mohamed Sanaulla | My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: gem directory not find
 
Similar Threads
gem installation error
Ruby on Rails question: yaml problem with scaffold generation
ruby script/server is not working
classnotfound Java->mysql jdbc problem!
ERROR: Error installing mongrel