Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On OS X the plugin is using the default system install of ruby #47

Open
simonsheridan opened this issue Jun 10, 2015 · 0 comments
Open

Comments

@simonsheridan
Copy link

Disclaimer: this is probably an issue with me, and not the software, so appologies where they are due.

I am running OS X 10.10 and Sublime Text 2. After installing sublime_debugger and attempting to start a debug session, I get the following output (which indicates I don't have byebug installed, but that's not the point, I also see issue #46 when i install byebug):

Connecting... 
Byebug gem is not installed for ruby version: 2.0.0
please look for installation instructions here:
https://github.com/shuky19/sublime_debugger
Last exception: #<LoadError: cannot load such file -- byebug>
Backtrace: 
["/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'", "/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'", "/Users/ssheridan/Library/Application Support/Sublime Text 3/Packages/Ruby Debugger/sublime_debug_require.rb:18:in `<top (required)>'", "/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'", "/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'"]

So it appears that sublime_debugger wants to use the 2.0 system installed ruby distro. However, i'm using rbenv with version 1.9.3 in my project so I believe sublime_debugger should point to that distro.

I tried hacking in a symlink to the rbenv 1.9.3 install from the system location in the output above, but with no luck.

I see a 'Settings file' is on your todo list, is there any way to point sublime_debugger to the instance i want to use without that feature? Or else, is there a way to get past issue #46 and use the system default install of Ruby 2.0 to debug my rbenv 1.9.3 project (doesn't sound like what I want to do) ?

Thanks and apologies again for creating a probably unwarranted issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant