RANJIT
Joined: 24 Oct 2011 Posts: 16
|
Posted: Sat Nov 19, 2011 12:32 pm Post subject: Tutorial for Installing Ruby Mine IDE 3.2.4 in Ubuntu 10.04 |
|
|
Overview:
This is a setup tutorial to get up and running quickly with RubyMine IDE for Ruby Development.Follow the steps below you’ll have your IDE installed in next to no time.
How to set up the RubyMine IDE to run on your Ubuntu machine. What I’ll be going through are as follows:
Pre-requisites:
* Intel Pentium III/800 MHz or higher (or compatible)
* Sun JDK 1.6. Open JDK is not supported
use openjdk6
* 2 GB RAM recommended
* Ruby 1.8.x or higher, or JRuby
* 1024x768 minimum screen resolution
* GNOME or KDE desktop
Downloading and installing RubyMine
To get RubyMine up and running on Ubuntu is a lot more straightforward than getting your VM and Ubuntu up and running. All you have to do is head over to the RubyMine download site and download the latest version.
Here is the download link
http://www.jetbrains.com/ruby/download/index.html
Once downloaded, open a Terminal Window and browse to the folder you just saved the install to. In my version of the file it is called: RubyMine-3.2.4 tar.gz. Next you will need to tar it by running the following command:
tar -xvzf RubyMine-3.2.4.tar.gz
This should extract RubyMine to the “RubyMine-3.2.4” sub-folder. Now that you have this done you should know that RubyMine expects the Java executable to be at “/bin/java” whereas Ubuntu puts it at “/usr/bin/java”, so to get RubyMine to work we’ll create a link to the Java install in this folder. Or else keep the folder whereever you want to run. Here I had done from /home/usr/RubyMine-3.2.4
Mow give the path of java .To do this you should run the following command:
sudo ln -s /usr/bin/java /bin/java
After this you would see the following:
ln: creating symbolic link '/bin/java': File Exists
Now you’ll probably want to create a Launcher for RubyMine and add it to your Desktop. To add a Launcher to your Desktop simply open a text editor (e.g. gedit) and copy the following into it, replacing those custom values that you have for your environment:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_ZA]=/home/user/RubyMine-3.2.4/bin/RMlogo.svg
Name[en_ZA]=RubyMine
Exec=/home/user/RubyMine-3.2.4/bin/rubymine.sh
Comment[en_ZA]=Runs RubyMine
Name=RubyMine
Comment=Runs RubyMine
Icon=/home/user/RubyMine-3.0.1/bin/RMlogo.svg
Once this is done save the file to your Desktop as “RubyMine.desktop”. Now there is one more step to complete and that is to make your newly created Desktop icon executable. To do this you have to run the following command:
chmod +x RubyMine.desktop
(Or)
You can create a launcher by simply clicking on the top panel and Click on Add to panel and Browse the path for executing RubyMine
/home/user/RubyMine-3.2.4/bin/rubymine.sh
You should now be able to use it to launch RubyMine for you and this will also complete all the steps necessary to install RubyMine.
For Installing it on Windows . See the following Link
http://www.rorexperts.com/ruby-mine-an-ide-for-ruby-and-ruby-on-rails-t2442.html
Thank You
Ranjit P |
|