HowTo: Configure Instant Rails and Aptana IDE

October 7th, 2009 by Raghunath J Leave a reply »

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

image

Click To Enlarge the image

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 :)

Related Posts with Thumbnails
Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

Related posts

  1. Installation Procedure for Rails Environment on Windows
  2. How to install Titanium an Open source Adobe Air in Ubuntu
  3. Octobers Top Posts wind-up @ TalkOnSomething.com
  4. Useful Rails plugins ,Ruby gems and Ruby libraries
  5. HOW TO CONNECT MYSQL DATABASE FROM WINDOWS XP TO UBUNTU
Advertisement

Leave a Reply

Switch to our mobile site