Error installing debugger: Failed to build gem native extension with ruby-1.9.3-p362
I ran into same issue. I tried:
bundle update debugger
My Gemfile had this:
gem 'debugger'
And it worked, I did not have to change Gemfile. Output of bundle shows something like this
...
Installing debugger-ruby_core_source (1.1.6)
Installing debugger-linecache (1.1.2) with native extensions
Installing debugger (1.1.4) with native extensions
...
Error occurred while installing debugger (1.6.8), and Bundler cannot continue. Make sure that `gem install debugger -v '1.6.8'`
Please replace
gem 'pry-debugger'
with
gem 'pry-byebug'
Thanks!
Related Topics
Why Pg::Uniqueviolation: Error: Duplicate Key Value Violates Unique Constraint
How to Track Down a Memory Leak in My Ruby Code
Creating Routes with an Optional Path Prefix
Best Ruby Idiom for "Nil or Zero"
When to Use a Lambda in Ruby on Rails
Where in the Ruby Language Is %Q, %W, etc., Defined
How to Measure the Size of a Ruby Object
Executing User-Supplied Ruby Code on a Web Server
How to Modify an Array While I am Iterating Over It in Ruby
How to Get the Target of a Symlink
Homebrew Install: Failed During: Git Fetch Origin Master:Refs/Remotes/Origin/Master -N --Depth=1
Transforming Datetime into Month, Day and Year
Aws Elastic Beanstalk - How to Upgrade Existing Environment from Ruby 2.1 to Ruby 2.2