• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

gem directory not find

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really late though, but found an useful documentation on installing gem in the RubyGem documentation manual here
    Bookmark Topic Watch Topic
  • New Topic