I am new to programming and RoR. There was a problem installing the Jazz-hands gem. There were no problems with other gems. I would be grateful for any help. Here is the result in the terminal:

Building native extensions. This could take a while... ERROR: Error installing jazz_hands: ERROR: Failed to build gem native extension. current directory: /home/denis/.rvm/gems/ruby-2.3.0/gems/debugger-1.6.8/ext/ruby_debug /home/denis/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160728-10202-1gsdnhy.rb extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/denis/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME) /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `initialize': No such file or directory @ rb_sysopen - ./230/ruby_debug.h (Errno::ENOENT) from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `open' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `copy_file' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:486:in `copy_file' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:403:in `block in cp' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1571:in `block in fu_each_src_dest' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1585:in `fu_each_src_dest0' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1569:in `fu_each_src_dest' from /home/denis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:402:in `cp' from extconf.rb:83:in `block in <main>' from extconf.rb:82:in `each' from extconf.rb:82:in `<main>' extconf failed, exit code 1 Gem files will remain installed in /home/denis/.rvm/gems/ruby-2.3.0/gems/debugger-1.6.8 for inspection. Results logged to /home/denis/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/debugger-1.6.8/gem_make.out denis@denis-R528:~/Dropbox/Programming/my_first_project$ 

    1 answer 1

    The jazz_hands heme was jazz_hands updated in 2013 . And his dependencies are incorrect . Not enough strictly.

    It hooks a debugger to the Rails console, which only works with Ruby 1.9 . Starting with Ruby 2.0 (including in 2.3), byebug used byebug , and debugger no longer works.

    That is, in fact, this gem requires Ruby no later than 1.9. In the current state. Though in gemspek it is not indicated.

    Only one way out: to refuse this heme, and following its Readme, to assemble its analogue in pieces. Most of them are simply installed and running, possibly with a connection to .pryrc .


    Probably, you can fork it and replace the debugger with a new one, and suggest changes to the gem or release it yourself. Then the answer will be "update it." You can work out the process of sending pull request!

    • Thank you, I thought that the most likely incompatibility with versions is either rails or ruby) - Sklerozz