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

Is it working under ruby 2.0.0? #94

Open
jmarceli opened this issue Jun 20, 2014 · 6 comments
Open

Is it working under ruby 2.0.0? #94

jmarceli opened this issue Jun 20, 2014 · 6 comments

Comments

@jmarceli
Copy link

When I try to start the debugger (:Rdebugger in Gvim) I get message:

Debugger started

But in ruby_debugger_output there is a message:

Uncaught exception: cannot load such file -- /path/to/my/app/script/rails

And debugger is not working at all. I use ruby 2.0.0 is it a problem, maybe there is some easy solution?

@runephilosof
Copy link

vim-ruby-debugger uses the debugger-xml gem https://github.com/astashov/debugger-xml which uses the debugger gem, which doesn't work for 2.x cldwalker/debugger#125
Actually you should have seen an error when you tried to install the debugger-xml gem, since it would fail at installing the debugger gem.

@deivid-rodriguez
Copy link

Support for Ruby 2.x is coming soon guys!

@jmarceli
Copy link
Author

jmarceli commented Dec 1, 2014

It would be really nice, tell me if I can help somehow (any branch or repo with dev version?). I'm not an expert but I will try to do my best.

@deivid-rodriguez
Copy link

@jmarceli Thanks for the offer. @astashov knows it best but as far as I know, vim-ruby-debugger doesn't need any changes. It should be enough that it uses latest debugger-xml and latest byebug (when it is released).

@astashov
Copy link
Owner

astashov commented Dec 1, 2014

Yup, @deivid-rodriguez is right. Once the next version of byebug is released, I'll add its support to debugger-xml (there is already a PR for that), and you just will need to specify the newer version in your Gemfile to make it work.

@jmarceli
Copy link
Author

jmarceli commented Dec 1, 2014

OK. Thanks for the info. Now I'm using pry but it would be nice to have debugger integrated with vim.

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

4 participants