ruby on rails installation on fresh ubuntu machine

Ruby On Rails Installation on fresh ubuntu machineInstallation steps are applicable to ubuntu versions interpid, karmic koala.Make necessary changes according to package manager provided by other linux operating systems in order install ruby and rails.Before getting started to installations make sure to build essential packageson fresh ubutnu machine. Ubuntu machine has built in apt-get package … Continue reading ruby on rails installation on fresh ubuntu machine

Imagemagick/ RMagick Installation on ubuntu

ImageMagick InstallationUbuntu machine has default apt-get package manager.To install imagemagick following packages needs to be installed.apt-get install imagemagick librmagick-ruby libmagickwand-devRMagick gem installgem install rmagickIf you still facing problems with gem installation, Please look that following packages are installedon your system.dpkg -l | grep libmagickcore-dev graphicsmagick-libmagick-dev-compatIf there are no packages installed then try to install then … Continue reading Imagemagick/ RMagick Installation on ubuntu

Programming ruby Linux basics

Remove svn files inside directoryrm -rf `find . -type d -name .svnSet path in linuxexport PATH=$PATH:/usr/ruby/binHere /usr/ruby/bin is the path to ruby extecuatble.grep and print process pidps -ef | grep search_string | grep -v grep | awk '{print  $2 }'Kill processkill -9 process_id_hereps -ef | grep search_string | grep -v grep | awk '{print  $2 … Continue reading Programming ruby Linux basics