Open LorinRicker opened 10 years ago
I spent a good 90 minutes fighting through various things - here is what I found:
You have to do a lot to ensure that Ruby is installed after openssl if you're using Ruby-2.0.0x these days - that's naught to do with this plugin, but some hapless googler is going to stumble here someday and should be warned.
I didn't have /User/MYUSERNAME/.rvm at all - rvm installed into /usr/local/rvm so I created a symlink to fix it:
ln -s /usr/local/rvm/ .rvm
From my home directory
Also - I should have opened the project file directly into the Rails folder - I had opened my project one folder higher in ST3, so I had PROJ => proj and sublime_debugger couldn't find script/rails as it was searching from the top folder.
Hapless googler here... Unfortunately my rvm is in my home directory... and I'm getting the same, debugger doesn't do anything, issue.
Any and all help/advice/fixes appreciated.
I'm running OSX 10.8.5, Ruby 2.0.0 (usually 2.1.2, but I switched to see if I could make Sublime Debugger happy), Sublime Text 2...
Thanks so much...
Environment (on desktop system #1): Linux/Ubuntu 14.04 ; rvm 1.26.0 (latest), ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux], current version of Ruby Gem byebug installed ; Sublime Text stable channel, build 3065 (single user license, registered).
Attempts to install sublime_debugger for Ruby on this desktop system "seem" to work, using ST's Package Installer (no installation errors or problems reported), but once installed, then subsequent attempts to start the Debugger withF6 for "current Ruby file" fail to Connect (actually, no messages are displayed in any debugger window, "nothing" happens in response to the keystroke).
By contrast, on my Sys-76 laptop (#2), configured exactly the same as "Environment (on desktop system)" above, which is able to start the Debugger on the same Ruby source file just fine -- so on this laptop system, I'm able to see and understand how this Debugger responds and starts on theF6 keystroke, and how to use it... So, works fine on my laptop (#2), but cannot make it work on desktop (#1).
I have Removed this package on this desktop system -- and even removed all ST-installed packages -- then reInstalled this Debugger, but still cannot get it to start with the keystroke (or any other way). No error or status messages at all (that I can find), and especially no "Connecting" message as seen on my laptop system.
Any advice or fix on how to (re)install on this desktop system (#1), why Debugger won't Connect? Thank you.