• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Ruby extension showing wrong version in shell

TeunieP

Basic Pleskian
Hi,
I am using Plesk Onyx Version 17.5.3 Update #77.
I have installed the Ruby extension which is running Redmine.

Selected Ruby version is 2.4.4-p296

However if I login using shell as user root, and navigate to the Ruby application (which is in httpdocs in one of the subscriptions) and execute the following command;

rbenv version

I get the following error message;

Version '2.4.4' is not installed (set by /var/www/vhosts/subscription name/httpdocs/.ruby-version)

ruby -v

gives as a result;
ruby 2.0.0p648

Redmine, running within Ruby, shows the right version.
But I need shell access because I have problems installing a Redmine plugin.

How come the Ruby version in the shell is not synced with the version running within Plesk?
 
Back
Top