Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven


Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me regarding the gems utility? (links to FAQs,tutorials,etc)
Basically I'm trying to download and install from the .tar sources for various dependencies using the gem command.
Also, installing rails from command line is not working, is there any other alternative ?
However, ruby as well as rails is working fine on top of Netbeans ide. So, is there any way for me to reuse gems and other components from the Netbeans platform to the native installation and vice versa ?
Please correct me as I am just beginning the learning of this stuff.
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gem install <name of gem> --include-dependencies

The --include-dependencies is optional, but it is a good proactive thing to do. Make sure you are root/sudo/admin.

To install a local gem you need to untar it first. and then use gem to install the *.gem file.

What are the specific errors that you get when trying to install rails?

You best bet is to install all gems natively, then they can be used system wide with no fuss.

I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic