I recently started to learn Ruby on Rails and my friend srinivas suggested me to use Aptana the IDE for developers. The IDE is awesome and its absolutely free. You can program a normal HTML site or dynamic coding like PHP, ROR and more but you need to install those plugins.
Well i decide to write a post to get to know how to configure Rails an Aptana. This post is for windows users.
First download and install the Aptana IDE. Click Here
Now install InstantRails, this is something similar to WAMP or XAMP. InstantRails comes with APACHE, MySQL, Rails, Ruby, Rake bla bla bla.
Click here to go to the download page for InstantRails.
Unpack the Aptana IDE into any location you link.
Now inside that aptana folder create a folder say “Instant Rails” and unpack the InstantRails zip file.
Now run your Aptana Studio excetuable file. For the first time it will ask you to install some plugins. Do install them and dont forget to select Rails
Now in the Aptana IDE menu selcect
Windows > Preferences
Now a child window opens Up. There select Rails as shown in the pic
Now select your “Rails” path i.e \Instant Rails\ruby\bin\rails
Note select only rails file but not the rails.bat file
Now select “mongrel_rails” path i.e \Instant Rails\ruby\bin\mongrel_rails
click “apply”
Now in the same window select Ruby > Installed Interpreters
Initially there will be only JRuby VM. Click Add and in the “RubyVM Home directory” browse to \Instant Rails\Ruby
Click Ok and now in the Installed Interpreters you can find ruby. Check mark it.
Now go to Ruby > Rake
Give the rake path i.e \Instant Rails\ruby\bin\rake and click apply
Hooray you have completed your configuration of Rails on Aptana IDE. Its easy to use.
Happy coding

Trackbacks /
Pingbacks