Ruby on Rails

From LocalizationWiki

Installing Ruby and Rail Framework in Debian Etch

Here we are trying to use Eclipse for developing Ruby on Rails applications

aptitude install eclipse

aptitude install mysql-server-5.0

aptitude install phpmyadmin //To test the phpmyadmin, try http://localhost/phpmyadmin on the browser

aptitude install ruby1.8 //The rubygem depends on the ruby1.8 and not ruby1.9

aptitude install ri

aptitude install rdoc

aptitude install rubygems

aptitude install rake

gem install rails --include-dependencies //rails available through the etch repostory is 1.1.6 and not 1.2

Click the link given below to configure ruby on rails in eclipse http://www.napcs.com/howto/railsonwindows.html

Click the link given below to use the radrails in eclipse http://www.radrails.org/page/download

Then set correct paths the ruby,rails,rdoc,and ri executables in the external tools of the eclipse

The default webserver being used by rails is Webrick. The following steps shows how to install mongrel in Debian Linux

aptitude install ruby1.8-dev build-essential
gem install mongrel
  

aptitude install libmysqlclient15-dev gem install mysql

Using Subversion with eclipse

http://www-128.ibm.com/developerworks/opensource/library/os-ecl-subversion/
http://www-128.ibm.com/developerworks/java/library/j-subversion/index.html

Installing imagemagick library (rmagick) for Ruby

 sudo aptitude install librmagick-ruby