Skip to content

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

@simonsheridan

Description

@simonsheridan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions