• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Ruby doesn't work on my VPS

toporder

New Pleskian
Hello,

To begin with, I'm sorry for my English .
I've installed Plesk on my Debian VPS and installed Ruby extension (2.6.3) but on my VPS the ruby version is :

ruby -v
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]

When I want Bundle install, I've an error :
  • /opt/plesk/ruby/2.6.3/lib/x86_64-linux-gnu/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.2) required by your /var/www/vhosts/smartcollect.app/smartcollect/Gemfile.lock. (Gem::GemNotFoundException)
  • To update to the latest version installed on your system, run `bundle update --bundler`.
  • To install the missing version, run `gem install bundler:2.0.2`
  • from /opt/plesk/ruby/2.6.3/lib/x86_64-linux-gnu/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
  • from /var/www/vhosts/smartcollect.app/.rbenv/versions/2.6.3/bin/bundle:23:in `<main>'
  • ERROR:__main__:Command '['/opt/psa/admin/sbin/filemng', 'smartcollect', 'exec', '/var/www/vhosts/smartcollect.app/smartcollect', '/bin/bash', '-l', '-c', 'bundle install --path vendor/bundle']' returned non-zero exit status 1
Can you help me?

Thanks very much
 
Hello,
don't worry!
Run gem install bundler or if it already marks you as installed gem update bundler , if it is still the same, install the correct version for your project (you can see it from the Gemfile) if you know you certainly have the version installed run rbenv local 2.6.3. but I only recommend this if it is a normal server, if you have Plesk installed on your vps, I would recommend you to install all ruby packages from port 8447, and if you want to install a specific version, just take a look at the link below.


Best regards!
 
Back
Top