So I'm pretty new to ubuntu and I'm trying to make a simple bash script that all it does is running Rubymine so I don't have to write it down in the command line everytime and also so I can have it on the desktop. The code I have in there is:
#!/bin/bash
sudo 'opt/Ruby Mine/bin/rubymine.sh'
It is marked to execute as a program but everytime I try to open it it just opens with gedit.