Friday, April 17, 2009

Rails 2.3.2 bugs with solutions

For the rails thinkers this link may helpful a lot to solve their basic issues with recent rails released version 2.3.2


http://tiny.cc/67kLX

Gem Capistrano issue on Ruby on Rails

If you are going to use capistrano gem for deployment.

you should install two gems for this:

sudo gem install capistrano
sudo gem install capistrano-ext

If you missed out "capistrano-ext" gem to install,

it wont you to execute capistrano operations like deploy, log, etc., i.e tasks which are using your deploy.rb

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- capistrano/ext/multistage (LoadError)

and it returns the above error.

Wednesday, April 15, 2009

Rmagick and ImageMagick Installation steps in Ubuntu

Hi to all,

After 1 to 2 hours struggling with the Rmagick and ImageMagick Installation in Ubuntu 8.10, i have found a simpler steps to do:

1) Install "imagemagick" through apt-get or synaptic manager.
2) Again Install "libmagick9-dev" through apt-get or synaptic manager.
3) Then, sudo gem install rmagick ( recent version will get install )

If you want a specific version of rmagick, then use this
sudo gem install rmagick -v 1.15.12

Note: rmagick 1.15.12 version is a stable gem.

Tuesday, April 14, 2009

To install rubygems in Ubuntu

I prefer these commands to install updated RubyGems in Ubuntu. Use the below commands on your terminal and get it quicker.

sudo gem install rubygems-update
sudo update_rubygems