Project: aptanastudio
Issue APSTUD-4886: Aptana cannot find ruby executable
h3. Steps to Reproduce Ubuntu 12.04 RVM ruby 1.9.3 eclipse 3.7.2 I've setup a clean install of eclipse on Ubuntu 12.04 I installed all of the prerequisites using apt-get then installed the RVM and installed ruby 1.9.3 and set it as default. In my .bashrc I have the following lines [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting When I run the $ echo $PATH /home/sysadmin/.rvm/gems/ruby-1.9.3-p194/bin:/home/sysadmin/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/sysadmin/.rvm/rubies/ruby-1.9.3-p194/bin:/home/sysadmin/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sysadmin/.rvm/bin and running $ ruby -v returns ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] h3. Actual Result When I run or debug as a rails app I get a popup that says: "Unable to find a Ruby executable." in the log file there is an entry !ENTRY com.aptana.ruby.debug 4 0 2012-06-05 11:58:28.000 !MESSAGE Unable to find a Ruby executable. h3. Expected Result I'm expect it to run/debug my app in the console. I have Aptana installed on Mac OS X lion and Snow leopard using the RVM just as this and it works. I've also had it working in earlier versions of Ubuntu. ANy help would be greatly appreciated
Story points: 13