Tuesday, October 27, 2009

10 steps to get start with MySpace Ruby SDK

by Sandip Ransing 0 comments

Follow 10 simple steps in order to use myspace sdk api

1. Remove all your previous gems installed
+ gem uninstall myspace

2. Checkout sample source code

svn checkout http://myspaceid-ruby-sdk.googlecode.com/svn/trunk/ myspacesdk

3. cd myspacesdk/samples/rails/sample
4. Modify config/database.yml accordingly


development:
adapter: mysql
database: sample_development
password: abcd
pool: 5
timeout: 5000

5. Download http://myspaceid-ruby-sdk.googlecode.com/files/myspaceid-sdk-0.1.11.gem
6. gem install --local ~/Desktop/myspaceid-sdk-0.1.11.gem i.e.PATH_TO_GEM
7. Above command supposed to give you following error otherwise skip to step 10

ERROR:  Error installing /home/sandip/Desktop/myspaceid-sdk-0.1.11.gem:
myspaceid-sdk requires ruby-openid (>= 0, runtime)

8. gem install ruby-openid go to step 6
9. ruby script/server
10. Browse http://localhost:3000/

blog comments powered by Disqus

About The Author

Sandip is a ruby on rails developer based in pune and also a blogger at funonrails. Opensource contributor and working with Josh software Private Limited. for more info read Follow Sandip on Twitter for updates.

Connect With Me...

Github Projects

@sandipransing Twitter