Comments (8)
Yup, this is a problem - by some reason the debugger doesn't work with Bundler. I can repeat that.
from vim-ruby-debugger.
Have you plans about fixing this issue?
from vim-ruby-debugger.
For sure, when I have some free time. :)
from vim-ruby-debugger.
Doesn't Rspec 2 require the debug flag?
'bundle exec rspec spec/models/user_spec.rb --debugger'
from vim-ruby-debugger.
Hmm, I don't know, but RSpec 2 works just perfectly if it is called without 'bundle exec'.
from vim-ruby-debugger.
I hope I'll have a chance to take a look at the issue during this weekend.
from vim-ruby-debugger.
The problem with 'bundle exec' - it uses Kernel.exec run running the ruby script. I.e.
bundle exec rspec spec/models/user_spec.rb
will actually run
Kernel.exec(["rspec", "spec/models/user_spec.rb"])
Kernel.exec replaces the current process by running the rspec command, so it is not in the debugger's scope anymore.
So, for now I even don't know how to make vim-ruby-debugger work with 'bundle exec'...
As a workaround, you can run rspec directly from vendor/bundle (I guess you store gems there, right?). I.e.:
:let g:ruby_debugger_spec_path='vendor/bundle/ruby/1.9.1/gems/rspec-core-2.6.4/bin/rspec'
:RdbTest
Hope that will help.
from vim-ruby-debugger.
Thanks! I will try this. But because of bundle influence on Rails world it will be a trouble :(
from vim-ruby-debugger.
Related Issues (20)
- Screenshot is broken HOT 4
- Rdebugger calls vim instead of mvim and fails --servername HOT 5
- Debugger is not running HOT 22
- RdbStop not working HOT 10
- Caught deadly signal ABRT HOT 2
- Debuger not start HOT 2
- Not hit breakpoint on Linux HOT 50
- debugger errors at every command HOT 5
- Debugger terminates HOT 10
- "VIM not found" debugger wont start server HOT 8
- Can't debug because 'builder' gem is loaded HOT 7
- `:Rdebugger` does not return HOT 1
- Windows support HOT 2
- Customize window positions (variables, breakpoints, etc..)
- Weird error HOT 2
- Is it working under ruby 2.0.0? HOT 6
- Не запускается debugger HOT 4
- Могу ли я использовать дебаггер, когда я запускаю задачи через tpope/vim-rake ? HOT 1
- Don't running RdbTest HOT 2
- Unable to run a simple rb file and getting an error trying to run debugger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-ruby-debugger.