• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

How to Install SproutCore in Virtual Enviroment

Page history last edited by Ionut Staicu 13 years, 6 months ago

Installing SproutCore 1.0 in Virtual Enviroment

 

Tested on Windows 7 with vmware 7.0  and Ubuntu 9.10 as the virtual enviroment.

 

First you need to have ruby and ruby gems installed on your system 1.8 or higher , 1.8 was tested and works fine

 

sudo apt-get install ruby 

sudo apt-get install rubygems1.8 

sudo apt-get install ruby1.8-dev

 

To install SproutCore 1.0 just type the following into the command-line:

 

sudo gem install sproutcore

 

If everything goes well then you just have to redefine the gem path

 

PATH=$PATH:/var/lib/gems/1.8/bin

export PATH

 

If you get an error on installing sproutcore, you probably need to update all packages:

 

sudo apt-get update

 

and then install g++:

 

sudo apt-get install g++

 

After g++ was installed, you should try again to install sproutcore gem (as you saw above). And don't forget about paths!

 

 

Now that you have SproutCore 1.0 installed, here are a few commands to get you going:

 

sc-init HelloWorld 

cd hello_world 

sc-server

 

Now visit http://localhost:4020/hello_world  for more info checkout "Using SproutCore 1.0" below.  You can also follow the Hello World Tutorial ยป

 

If you want the samples you can get them from the github repository using the wiki page http://wiki.sproutcore.com/Abbot-Setting+Up

 

 

Comments (1)

Jacob said

at 5:41 pm on Jun 12, 2010

Could somebody explain to me this whole PATH thing? Do I need to actually fill in the path for something in the PATH field?

Thanks!

You don't have permission to comment on this page.