As noted in the SproutCore documentation you need to have RubyGems 1.3.0 installed. You also need a full Ruby distribution (including openssl bits), which is not so clearly noted. Here’s the steps I followed on my Ubuntu 8.10 system.
Type the following to update RubyGems:
|
|
Note: thats a double dash before system. On my system this created a new executable /usr/bin/gem1.8 rather than overwriting the existing /usr/bin/gem. You need to replace the old file with the new file manually otherwise you’ll get:
|
|
So:
|
|
Seems that out of the box Ubuntu 8.10 lacks a full ruby distribution, the following will ensure all components of ruby are installed (In particular SproutCore, via Mongrel depends on the libopenssl-ruby1.8 package).
|
|
With the above steps completed you are now ready to install SproutCore per the official documentation.