Posterous theme by Cory Watilo

surendran sukumaran

surendran sukumaran

Senior Ruby on Rails developer @ Spritle software

Memcached with Rails 3 configuration.

First install memcached in your machine and make sure its running.

After installing memcached to make sure its running, try starting the server using the below command in the terminal

/etc/init.d/memcached start 

memcached -vv # show memcached log in console

add the below to your Gemfile

gem 'memcache-client' # memcached client for ruby

RVM Gemsets to maintain multiple versions of gems

RVM made my life easier to run multiple versions of ruby and rails in Ubuntu.
 Installing RVM
If we want to maintain two different versions of gem under a single ruby version, we can create a named gemsets for different versions and switch between them easily.
Recently I came across something called gemsets.

The below command creates a gemset named gemsetname.
rvm 1.9.2@gemsetname --create

Read the rest of this post »

Github-client using Rhodes

I am new to Rhodes, In Rhomobile landing page they have a quote saying "Use your web skills to write NATIVE apps once and build for ALL smartphones with"  impressed me a lot.

Rhodes is a nice cross-platform  language for web developers to write mobile native apps which includes(iPhone, Android, Blackberry).

Their docs is really cool http://docs.rhomobile.com , I started with the help of Rhomobile docs and now am able to write a decent mobile apps using Rhodes.

Read the rest of this post »