• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Rubygems

 
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic