Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SproutCore sample application w/ statecharts

branch: dispatch

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 apps
Octocat-spinner-32 bin
Octocat-spinner-32 design
Octocat-spinner-32 frameworks
Octocat-spinner-32 themes
Octocat-spinner-32 .gitattributes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Buildfile
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 license.js

OtherInBox Web Application in SproutCore with testing in Jasmine

TODO: explain what this app does

Development Status

This is currently being upgraded with the following:

  • Use statecharts
  • Upgrade with jasmine automated regression tests.

Presently the application doesn't work very well yet (on this branch); however you are welcome to download it and fool around.


  • Has been tested under Ruby 1.9.2-p136.
  • Has been tested under SproutCore gem sproutcore version 1.5.0.pre.5
  • I develop under OSX 10.6.8. On other systems, YMMV.


If you really want to avoid "gem hell" issues, use Ruby Version Manager (rvm) to configure a pristine "exactly right" Ruby version and exactly the gem set you need. I show you the versions I'm presently using for the "rubie" and gemset; I recommend you use those until you get things running. Then change either one to your taste if you like.

Here's how:

  1. Install rvm
  2. Then $ rvm install ruby-1.9.2-p136 $ rvm gemset create otherinbox $ rvm gemset use otherinbox $ gem install sproutcore -v 1.5.0.pre.5

The last command will take several minutes.


$ cd <your directory containing your projects>
$ git clone
$ cd otherinbox
$ cd frameworks
$ git clone
$ git clone ki
$ cd ..

Setting the Default Rubie and Gemset for this SproutCore Application

NOTE: Only do this if you are using **rvm* as described in the top section:*

So that rvm configures automatically to the rubie and gemset specified above, create a command file named '.rvmrc' with the following contents as in the following commands:

$ echo rvm 1.9.2-p136@otherinbox >.rvmrc

Configure the rubie and gemset by executing the .rvmrc file using the following command:

$ cd ../otherinbox

Note: you only have to do this once. The next time you enter the project directory, this will happen automatically.

Running the Application

$ sc-server

To see the application

http://localhost:4020/other_inbox shows the application.

To run the tests


Something went wrong with that request. Please try again.