Posts

Showing posts from March, 2012

Refinery CMS for rails...and some associated tit bits

Currently I am working on th "Refinery" CMS in rails, a beautiful content management system in rails and the best way to understand the concepts for me is none other than the railcasts episodes. But before starting with it, we need to have some stuffs installed in our machine...viz. ruby 1.9.3 and rails 3 (or above). Lets go one by one. syntax error, unexpected ':', expecting $end......session_store :cookie_store, key: '_saint_rock_session'...Error while creating db, in refinery, caused due to absence of ruby 1.9.3 in your machine. Do install ruby 1.9.3 (using rvm/pik and have the refinery CMS setup happily :)If you are using ubuntu, there are some issues with installing of ruby 1.9.3 directly using rvm. The error looks looks like this... ERROR: The requested url does not exist:
'ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-.tar.bz2' So you can manually fetch the file and then ask rvm to use it...
curl -o /usr/share/ruby-rvm/archives/ruby-1.9.3-.ta…