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

Allow specify including/excluding debugger #12

Open
snwfog opened this issue Jul 18, 2013 · 12 comments
Open

Allow specify including/excluding debugger #12

snwfog opened this issue Jul 18, 2013 · 12 comments

Comments

@snwfog
Copy link

snwfog commented Jul 18, 2013

Its conflicting with RubyMine's own debugger, but I still want to use the console with Pry for debugging simultaneously.

@localredhead
Copy link

This is a problem on our team as well. I think it is less of an issue with including debugger and more of an issue with Bundler and not being able to have a local gemfile that doesn't get checked in.

@nixme
Copy link
Owner

nixme commented Jul 18, 2013

Hrm... with all the incompatibility with 2.0 and others asking for byebug, I think I'll create a branch without pry-debugger and folks can drop in whichever debug mechanism they want.

@localredhead Can't you just set the BUNDLE_GEMFILE environment variable to Gemfile.local and gitignore it?

@localredhead
Copy link

@nixme that sounds far too easy to be reasonable! :) I'll suggest that to the RubyMine users in group.

A branch that is void of pry-debugger sounds like the best scenario - but for me I liked the fact that it just worked when it was pre-bundled.

@theoretick
Copy link

+1 I would love a branch without debugger for now. Until debugger support works in Ruby 2.0 it would be great to have an easier alternative with pry-byebug as mentioned in #11

@wyaeld
Copy link

wyaeld commented Oct 21, 2013

@nixme Did you ever get any further with the branch that excludes debugger? I'm refreshing gems on a project, and would like to move away from some of the forks necessary to get jazz_hands working on 2.0 correctly.

@nixme
Copy link
Owner

nixme commented Oct 24, 2013

Okay. A branch based off 0.5.2 is available at https://github.com/nixme/jazz_hands/tree/bring-your-own-debugger

You can use it in bundler via:

gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'

I might release that combined with @JHRE's #13 as major release 1.0 if this works for everyone.

@wyaeld
Copy link

wyaeld commented Jan 16, 2014

I've been able to come back and revisit this, running the following apears to work fine, this is on ruby 2.0.0

gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
gem 'pry-byebug'

+1 for releasing this with @JHRE's work.

@dvdplm
Copy link

dvdplm commented Jan 29, 2014

We've been running the bring-your-own branch for a good while now and it has worked flawlessly. It's especially handy when you want to run ruby-head as the debugger dependency pulls in debugger-ruby_core_source which is not (and never will be, which is proper of course) updated to ruby-head.
Any chance of seeing this behavior merged to master?

@GriffinHeart
Copy link

👍 would love to see this merged on master.

@lozandier
Copy link

I across this issue today and sort of confused why it still occurs with a fresh attempt to use jazz_hands on a freshly set-up laptop; debugger 1.6.8 was something that forced me unable to finish a bundle, but it seems pry-debugger should have been removed from jazz_hands already?

@snwfog
Copy link
Author

snwfog commented Jul 6, 2014

@lozandier Have you specify the correct branch in your Gemfile?

gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'

@lozandier
Copy link

That's what I did after trying out gem 'jazz_hands and it worked, but I
thought jazz_hands incorporated such changes into the master branch; this
issue ticket was closed with a commit that suggested this had happened, but
apparently not with the version of the gem that is installed by default
with the use of `gem jazz producing the errors described with this ticket.

On Sun, Jul 6, 2014 at 6:09 AM, Charles Yang [email protected]
wrote:

@lozandier https://github.com/lozandier Have you specify the correct
branch in your Gemfile?

gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'


Reply to this email directly or view it on GitHub
#12 (comment).

Kevin Lozandier
[email protected] [email protected]

zedwarth added a commit to zedwarth/project_ellison that referenced this issue Aug 1, 2014
The jazz_hands gem is dependent on debugger which is incompatible with
Ruby 2.  This is a known issues and I have implemented the workaround
found here (nixme/jazz_hands#12).
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

8 participants