Using the latest Sproutcore code from the master branch

Got this tip from Colin Codes.

Standard Sproutcore Install

I’ve installed Sproutcore using

gem install sproutcore

However, this is NOT the latest development code. It is the latest released code.

Using the Latest Code from the Master Branch

All you have to do is to clone the latest sproutcore code from github into a frameworks directory within your Sproutcore project directory.

cd my_project_directory
mkdir -p frameworks
cd frameworks
git clone git://github.com/sproutcore/sproutcore.git

Following this, you should have the following directory structure

  • my_project_directory
    • apps
    • frameworks
      • sproutcore
    • tmp

The Sproutcore build tools (and sc-server) will use the Sproutcore code found under your project’s frameworks/sproutcore directory rather than the one that came with the standard install of Sproutcore.

If you wish to use an even later version of sproutcore, e.g. Quilmes branch, you just need to get that version into your frameworks/sproutcore directory.

cd my_project_directory/frameworks/sproutcore
git fetch
git checkout -b quilmes origin/quilmes

Using External 3rd Party Frameworks

For a list of frameworks, see http://wiki.sproutcore.com/Other-Frameworks.

Basically, get the source into the my_project_directory/frameworks/external_framework_name directory.

Change your Buildfile to include the new external framework.


config :all, :required => [:sproutcore, :external_framework_name]
Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]