How to get SproutCore running on Ubuntu 8.04

I had some issues getting it running.. so here’s what I done did to fix it.

Open up a terminal, crack your knuckles, then:

  1. sudo apt-get install ruby
  2. sudo apt-get install rubygems
    • You also need rubygems, since sproutcore is such a gem.
  3. sudo apt-get install ruby1.8-dev
    • You’ll need this in order for some things to compile during install.
  4. sudo apt-get install build-essential
    • You’ll need this in order for some things to compile during install.
  5. sudo gem install sproutcore
    • Hey look, we’re installing sproutcore finally!
  6. sudo nano ~/.bashrc
    • For some reason, Ubuntu doesn’t know to look in the Ruby bin folder so we need add this line at the very bottom of the .bashrc file: export PATH=$PATH:/var/lib/gems/1.8/bin
  7. Save the file (CTRL + X), and close the terminal.
  8. Open a new terminal and type sproutcore poop and hit enter.. yay, it worked?

*note: When presented with the option, I always chose the ruby install, not win32 or jruby.

Now to go www.SproutCore.com and learn, my friend.. LEARN!

Zemanta Pixie