Hulihan Applications
about projects portfolio services contact_us
Install Aptana and RadRails in Eclipse

     For those of you who are interested in web development, a good IDE(Integrated development environment) can save you time and stress. For ruby on rails development, I usually enjoy using Aptana with the RadRails plugin. RadRails is a Ruby & Ruby on Rails development environment that has useful ruby code snippets and code highlighting. Also, it works with html, css, javascript, etc. So it's very useful for web development. I particularly enjoy Aptana(which is a derivitive of the popular Java IDE, Eclipse) because it allows me to use FTP file browsing, so I can connect directly to a development or web server, no matter where I am or what machine I'm using for development.

I have been using Aptana for a while with no problems, on multiple machines. Everything was going great, that is, until I tried installing it on my new laptop. Every time I tried to open the program, I received a "JVM Terminated" Message Window, and Aptana immediately closed. The guys at Aptana say the culprit of this message is caused by a problem with JVM on my machine. After reinstalling, updating and verifying that JVM is working on my machine, I tried it again. Same thing! It also seems that other people with this same issue had unresolved support tickets for Aptana's Development Team. So far no one had resolved this particular issue, and I needed a quick solution. I decided to install Aptana and RadRails as an Eclipse Plugin. Here's how to do it:
Step 1: Download and Install Eclipse
You can download Eclipse here. Be sure to grab an SDK version of Eclipse. On my machine, I used the basic Eclipse Classic SDK IDE(Ganymede), version 3.4.1. Follow their instructions and install Eclipse as necessary.
Step 2: Prep Eclipse to Install Plugins
Open Eclipse, then:
1) From the Window or Eclipse menu in Eclipse, select Preferences.
2) Select General > Capabilites, and check the Classic Update box.
3) Click OK(The Main OK for the entire box).
Step 3: Install The Aptana Plugin
1) From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window.
2) On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
3) Add a new remote site to add the Aptana plug-in:
1. Click the New Remote Site... button to open a New Update Site pop-up window.
2. On the New Update Site pop-up window, type Aptana in the site Name text box.
3. In the URL text box, type the URL for the Aptana update site: http://update.aptana.com/install/studio/3.2/ and click OK.
4. Click the Finish button to switch to the Updates window.
4) On the Updates window, check the Aptana box (shown below), and click the Finish button.
5) On the next screen, check the Aptana box, and click the Next button.
6) Choose the option to accept the terms of the license agreement, and click the Next button.
7) Click the Finish button.
8) Click the Install All button.
Step 4: Install The RadRails Plugin
1) Follow the steps above, but In step 3, Name the plugin "RadRails", and use the URL: http://update.aptana.com/install/rails/3.2/
Step 5: Relax
That's all you need to do to get Aptana Running in Eclipse. It's free and useful. Also, Eclipse has SFTP support, so your passwords won't be displayed in cleartext(they are in normal FTP) when connecting to a server.
Resources used in this post:
Plugging Aptana into an existing Eclipse configuration - A great article with several screenshots. It covers steps 1-3 above, but I had to dig around to find the plugin url for RadRails in step 4.


6 Comments

Joselee says...
Great Tutorial, I have my eclipse running well

serverside guy says...
i did as u wrote but it went through error, ---->requires plugin "org.eclipse.core.filesystem." What shuld i do HELP>>>>>

adrian says...
now i can't use my jee eclipse for using radrails or what?

Joe Dean says...
@peng zhou - You need to download "Eclipse Classic" to get capabilities for "Java" nor "JEE" have this selection.

peng zhou says...
I tried to follow your steps. However I cannot find "capabilities" in eclipse 3.4.1 (java or jee). How can I enable it? Thanks!

Patrick says...
You rock! I just upgraded my linux laptop to fc10 and found Aptana wouldn't work. I used your guide and got back to rails coding in Eclipse/Aptana again. Thanks!


Add A Comment



simple_captcha.jpg



Hulihan Applications © 2007-2009
No portion of this site may be copied, altered, duplicated or otherwise used without the express written approval of Hulihan Applications.