Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing SproutCore from source (OS X and Linux)
Installing RVM:
1. Installing RVM is as easy as:
$ bash -s stable < <(curl -s
2. Add the following to your '.bash_profile':
# RUBY / RVM / SproutCore stuff
export RUBY_VERSION=ruby-1.9.2-head
export GEM_PATH=$HOME/.rvm/gems/ruby-1.9.2-head
source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
# It's best to open a new shell at this point so that your new variables are applied.
3. Instruct RVM to use Ruby 1.9.2:
$ rvm install ruby-1.9.2-head
$ rvm use ruby-1.9.2-head
Installing SproutCore:
1. Get the “abbot” source:
$ git
2. Create a “sproutcore” directory within the abbot frameworks:
$ mkdir -p abbot/lib/frameworks/sproutcore
3. Clone the master branch of sproutcore into the above created directory:
$ cd abbot/lib/frameworks && git clone && cd ../../
4. Build the sproutcore gemspec:
$ rvm 1.9.2-head do gem build sproutcore.gemspec
5. Install the newly built sproutcore gem:
$ rvm 1.9.2-head do gem install sproutcore-1.*.gem
6. SproutCore should now be installed. Lastly you'll want to add it's bin directory to your path:
$ PATH=$PATH:$HOME/.rvm/gems/ruby-1.9.2-head/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment