Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

gem directory not find

 
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!
 
gardener
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
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!