Linux startup shortcut

I downloaded RubyMine 2.0 Beta and extracted it to ~/downloaded/rubymine. I try to create some shortcut, symlink or so and copy it to my PATH eg. ~/bin but when I create symlink ~/bin/rubymine but when I try tu launch it i got an error:
./rubymine: 45: cannot open ./../bin/rubymine.vmoptions: No such file

Is there any solution to have RubyMine launcher in PATH?

8 comments
Comment actions Permalink

Hi Sebastian,

I downloaded RubyMine 2.0 Beta and extracted it to ~/downloaded/rubymine. I try to create some shortcut, symlink or so and copy it to my PATH eg. ~/bin but when I create symlink ~/bin/rubymine but when I try tu launch it i got an error:

./rubymine: 45: cannot open ./../bin/rubymine.vmoptions: No such file

Is there any solution to have RubyMine launcher in PATH?

What exatcly symlink do you have?
On both my Linux boxes I prefer the following configuration:
Unpack rubymineXXXX.tar.gz to /opt folder.
Create executable file /usr/local/bin with the following content:

cd /opt/rubymineXXXX/bin

exec ./rubymine.sh
In this case you can easily launch Rubymine by command rubymine.

Regards,
Oleg

0
Comment actions Permalink

I create symlink this command:
     ln -s ~/bin/rubymine1480/bin/rubymine.sh rubymine

Your solution to unpack this to /opt also seems interesting for me. :-)

0
Comment actions Permalink

Hi Sebastian,

I create symlink this command:
     ln -s ~/bin/rubymine1480/bin/rubymine.sh rubymine

Your solution to unpack this to /opt also seems interesting for me. :-)

As far as I know it seems to be the most correct Linux way. See for more details: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html

Regards,
Oleg

0
Comment actions Permalink

I'm having the same problem.
Ubutun 10.04, pretty much default and untouched.
I unpacked Rubymine to /opt and I created the symlink. I can open a terminal and run 'rubymine' and that works fine, but not from a launcher. No error message, just nothing.
Other launchers seem to work as expected.
I'm a linux noob, so I'm not sure where to even begin looking.
Any advice is appreciated.

0
Comment actions Permalink

Hi Christopher,

What RubyMine version do you use?

0
Comment actions Permalink

Hi Christopher,

Unfortunally creating symlink is not enough for RubyMine 2.0.2 launch script. It's launcher is required to be executed in its folder.
We've already fixed this in RubyMine 2.5 EAP build: http://confluence.jetbrains.net/display/RUBYDEV/RubyMine+EAP

Best regards,
Oleg

0

Please sign in to leave a comment.