Douglas F Shearer

Ruby Gems Installation And Compilation On OpenSolaris


I’ve had a bit of trouble installing various Rubygems on my system, mostly Hpricot and Ferret which both require some code compilation. In an effort to save others the same trouble, I’ve compiled a list of tips here to make life easier…

  • Change your rbconfig.rb file in the RubyGems folder using the one created by Joyent’s Benr. This will help RubyGems find make, cc, gcc etc, which are not in their usual places in Solaris/OpenSolaris.
  • Install cc by getting the Sun Studio. You have to be registered, but if you downloaded OpenSolaris from Sun, you’ll already have an account.
  • Install gcc3. If you are using BlastWave to manage your packages simply run pkg-get install gcc3 to get it.

Hopefully this will help some of you out.

Other Great OpenSolaris/Solaris Tips

Fellow Edinburgh Rubyist Graeme Mathieson has put together some great posts on his experiences with Solaris on his new Sun Thumper. Very lucky man!

Tags

, , , .

June 12 2007 21:27 | Posted in Coding | comments (0)
 

Comments


There are no comments. Be the first.

Add Your Comments


(Required)

Your email address to get your Gravatar. Address itself is not shown.

(Include the http://)

(Required)

 

You Are Here


Douglas F Shearer

This is the homepage of Douglas F Shearer, a software developer and mountainbike racer. Find out more at the About page.

Hire Me!


Liked my articles on Rails? I'm available for hire for Ruby, Java and PHP work. Find out more.

Gallery Latest


Hiding Behind the Christmas Tree Snow at Secret Location #1 IMG_0181_2 Car Photo Shoot Slide-out Status Panel Dual Redundant Power Supplies

Stay Informed


What is RSS?

Categories


  1. Bike (77)
  2. Coding (77)
  3. Other (44)

Top Tags