• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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