Sunday, June 3, 2007

Ubuntu, Ruby & IntelliJ

Ubuntu
<rant>
I had instlled Beryl 0.2R3 on Ubuntu 7.04. Though the deskop effects have been great so far, the behaviour of any new window being opened has been very unpredictable. The new window will be open up as a empty black window at first, I had to reset the window manager/window decorator sometimes to get the see that window functioning. Sometimes even the already opened winodws will be blackened. Finally I lost my patience and reverted back to the default metacity window manager.
</rant>

Ruby


Installed ruby and RoR with the help of the steps mentioned here.

IntelliJ

  • Installing IntelliJ (Selena EAP) was a simple affair too. Just unzip to the installation folder:
tar xzvf idea6918.tar.gz
  • Created a launcher in the Applications Menu too by right clicking on Applications, selecting Edit Menus and adding the launcher in the Programming group. Also Modified the /bin/idea.vmoptions file so that IntelliJ uses a little more memory to start with.
-Xms256m
-Xmx512m

I had to disable dektop effects on Ubuntu to see IntelliJ window [otherwise I could just see a white window with borders].
  • Next, I installed two plugins DBHelper and Ruby on IntelliJ.
  • Configure Ruby SDK on IntelliJ [File -> Settings -> Template Project Settings -> Project Structure -> Project 'Default (template) Project'], need to provide the ruby installation folder as /usr. To configure JSDK, point to /usr/lib/jvm/java-6-sun.