That was a struggggle .. however the steps are pretty easy.
sudo apt-get install ruby rubygems ruby1.8-dev build-essential
Now you are ready to install sproutcore. Run the following command
sudo gem install sproutcore
it will take time , installing some prerequisites it needs. There is another way using github, but i don’t actually recommend it , its Pure manual.
The next step is to start your first project. Go to a directory you will have your first project ( cd <path-to-directory> ) , then do the following command :
it should run perfectly , usually it does not for some reason ( as i tried it in two different OS ) ! it says that there is no command sc-init. It says that because it cannot see it , since the PATH is already configured to /usr/bin , And i think in virtual machines things get installed somewhere else. Anyways , to get it running you need to search for sc-init file in your machine. Normally you will find two files , one with sproutcore in its path, the other’s path would look abit like this /var/lib/gems/1.9.1/bin (1.9.1) could differ from your RubyGems version e.g. ( /var/lib/gems/1.9/bin ) . ( Upgrade to version 1.9 or 1.9.1 first ) could work without it.
Next step is to Configure PATH as follows PATH=$PATH:/var/lib/gems/1.8/bin .Then type export PATH .
Then rerun sc-init command. And now you have SproutCore working , if you have any error , post a comment and I will see what i can do 🙂
Special Thanks to Alex Iskander for his great help.