Installing Aptana + RadRails on Ubuntu Jaunty

17 Aug 2009

I’ve always used vim as my main editor, but I thought I’d try RadRails since so many Rails people rave about it.

Installing it on Ubuntu Jaunty is a bit non-obvious:

  • sudo aptitude install openjdk-6-jre (or your preferred jre)
  • download and unpack aptana zip to ~/.aptana
  • download and unpack xulrunner to ~/.xulrunner
  • create a script like ~/bin/aptana:
#!/bin/bash
MOZILLA_FIVE_HOME=~/.xulrunner
if [ $LD_LIBRARY_PATH ]; then
    LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
    LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
~/.aptana/AptanaStudio -vm /usr/lib/jvm/java-6-openjdk/bin

[ubuntu] Installing Aptana on Jaunty – Ubuntu Forums

comments powered by Disqus

  « Previous: Next: »