• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Beginner error RoR when using bundler

Alejandro

New Pleskian
Hey,

First of all I want to make it clear that I am starting in RoR.


I have a problem using bundle from the panel. maybe you can guide me and help me

Installing...
  • Fetching gem metadata from RubyGems.org | your community gem host.............
  • Fetching version metadata from RubyGems.org | your community gem host...
  • Fetching dependency metadata from RubyGems.org | your community gem host..
  • Resolving dependencies....
  • Using rake 12.3.2
  • Using concurrent-ruby 1.1.5
  • Using minitest 5.11.3
  • Using thread_safe 0.3.6
  • Using builder 3.2.3
  • Using erubi 1.8.0
  • Using mini_portile2 2.4.0
  • Using crass 1.0.4
  • Using rack 2.0.6
  • Installing nio4r 2.3.1 with native extensions
  • Using websocket-extensions 0.1.3
  • Using mini_mime 1.0.1
  • Using arel 9.0.0
  • Using mimemagic 0.3.3
  • Using public_suffix 3.0.3
  • Using io-like 0.3.0
  • Installing bindex 0.5.0 with native extensions
  • Installing msgpack 1.2.9 with native extensions
  • Using bundler 1.13.5
  • Installing byebug 11.0.1 with native extensions
  • Using regexp_parser 1.3.0
  • Installing ffi 1.10.0 with native extensions
  • Using coffee-script-source 1.12.2
  • Using execjs 2.7.0
  • Using method_source 0.9.2
  • Using thor 0.20.3
  • Using multi_json 1.13.1
  • Using rb-fsevent 0.10.3
  • Using ruby_dep 1.5.0
  • Installing puma 3.12.1 with native extensions
  • Using rubyzip 1.2.2
  • Using tilt 2.0.9
  • Installing sqlite3 1.4.0 with native extensions
  • Using turbolinks-source 5.2.0
  • Using i18n 1.6.0
  • Using tzinfo 1.2.5
  • Installing nokogiri 1.10.1 with native extensions
  • Using rack-test 1.1.0
  • Using sprockets 3.7.2
  • Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  • current directory:
  • /var/www/vhosts/yoya.vhost.interdominios.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/nio4r-2.3.1/ext/nio4r
  • /opt/plesk/ruby/2.4.4/bin/ruby -r ./siteconf20190320-3041-nb56je.rb extconf.rb
  • checking for unistd.h... *** 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}/lib64
  • --with-make-prog
  • --without-make-prog
  • --srcdir=.
  • --curdir
  • --ruby=/opt/plesk/ruby/2.4.4/bin/$(RUBY_BASE_NAME)
  • /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:457:in `try_do': The compiler
  • failed to generate an executable file. (RuntimeError)
  • You have to install development tools first.
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:588:in `try_cpp'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:1095:in `block in
  • have_header'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:945:in `block in
  • checking_for'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:351:in `block (2 levels) in
  • postpone'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:321:in `open'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:351:in `block in postpone'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:321:in `open'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:347:in `postpone'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:944:in `checking_for'
  • from /opt/plesk/ruby/2.4.4/lib64/ruby/2.4.0/mkmf.rb:1094:in `have_header'
  • from extconf.rb:14:in `<main>'
  • To see why this extension failed to compile, please check the mkmf.log which can
  • be found here:
  • /var/www/vhosts/yoya.vhost.interdominios.com/httpdocs/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/nio4r-2.3.1/mkmf.log
  • extconf failed, exit code 1
  • Gem files will remain installed in
  • /var/www/vhosts/yoya.vhost.interdominios.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/nio4r-2.3.1
  • for inspection.
  • Results logged to
  • /var/www/vhosts/yoya.vhost.interdominios.com/httpdocs/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/nio4r-2.3.1/gem_make.out
  • An error occurred while installing nio4r (2.3.1), and Bundler cannot continue.
  • Make sure that `gem install nio4r -v '2.3.1'` succeeds before bundling.
  • ERROR:rubymng:Command '['/usr/local/psa/admin/sbin/filemng', 'amurciasu1', 'exec', '/var/www/vhosts/yoya.vhost.interdominios.com/httpdocs', '/bin/bash', '-l', '-c', 'bundle install --path vendor/bundle']' returned non-zero exit status 5

Thank you!
 
Back
Top