File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

gem directory not find

Sam Porwal

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
[root@server ~]# which gem
/usr/bin/which: no gem in
[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.

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3152

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:
subject: gem directory not find
It's not a secret anymore!