• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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