• 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 We can i change the System Ruby Version

vampsm

New Pleskian
Hi guys,

we have at this again time a problem with ruby version on CentOS 7 Plesk 17.8 and redmine.

On our redmine sites run the Ruby Version 2.4.4-p296 it´s OK

But after Update and install redmine plugin, we have again the problem with the "system" - ruby version und nokiriki ;(

( ruby ..... vendor version ...... vendor.... that is system or... ??? )

Code:
[root@h207 /]# ruby -v
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

[root@h207 /]# php -v
PHP 5.4.16 (cli) (built: Apr 12 2018 19:02:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.

bundle install at the redmine application root:
Code:
[root@h207 /]# bundle install
...
...
Fetching nokogiri 1.8.3
Installing nokogiri 1.8.3 with native extensions
Gem::InstallError: nokogiri requires Ruby version >= 2.1.0.
An error occurred while installing nokogiri (1.8.3), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.8.3' --source 'https://rubygems.org/'` succeeds before
bundling.

In Gemfile:
  d-eface was resolved to 1.3.0, which depends on
    rails was resolved to 4.2.8, which depends on
      actionmailer was resolved to 4.2.8, which depends on
        actionpack was resolved to 4.2.8, which depends on
          actionview was resolved to 4.2.8, which depends on
            rails-dom-testing was resolved to 1.0.9, which depends on
              nokogiri

....


Code:
[root@h207 /]# which -a ruby
/usr/bin/ruby

[root@h207 redmine]# rbenv versions
rbenv: version `2.4.4' is not installed (set by /var/www/vhosts/la.b-....de/developer/redmine/.ruby-version)
  system

[root@h207 redmine]# rbenv local
2.4.4

[root@h207 redmine]# rbenv global
system

[root@h207 /]# rbenv versions
* system (set by /root/.rbenv/version)



has anyone this problem ??
Can anyone help us ...?

Must/can we install rvm

Thank you
Steffen
 
Last edited:
Plesk Ruby is here:

# /opt/plesk/ruby/2.4.4/bin/ruby -v
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
 
That's right. This is running in the Plesk environment

Code:
[root@h207 ruby]# ls
1.9.3  2.1.10  2.2.10  2.2.5  2.2.8  2.3.1  2.3.5  2.4.0  2.4.4
2.0.0  2.1.8   2.2.4   2.2.6  2.3.0  2.3.3  2.3.7  2.4.2
[root@h207 ruby]# ls -lh
insgesamt 68K
drwxr-xr-x 6 root root 4,0K  5. Apr 08:07 1.9.3
drwxr-xr-x 6 root root 4,0K  5. Apr 08:08 2.0.0
drwxr-xr-x 6 root root 4,0K  5. Apr 08:10 2.1.10
drwxr-xr-x 6 root root 4,0K  5. Apr 08:12 2.1.8
drwxr-xr-x 6 root root 4,0K 28. Apr 04:10 2.2.10
drwxr-xr-x 6 root root 4,0K  5. Apr 08:15 2.2.4
drwxr-xr-x 6 root root 4,0K  5. Apr 08:17 2.2.5
drwxr-xr-x 6 root root 4,0K  5. Apr 08:19 2.2.6
drwxr-xr-x 6 root root 4,0K  5. Apr 08:21 2.2.8
drwxr-xr-x 6 root root 4,0K  5. Apr 08:25 2.3.0
drwxr-xr-x 6 root root 4,0K  5. Apr 08:27 2.3.1
drwxr-xr-x 6 root root 4,0K  5. Apr 08:29 2.3.3
drwxr-xr-x 6 root root 4,0K  5. Apr 08:31 2.3.5
drwxr-xr-x 6 root root 4,0K 28. Apr 04:10 2.3.7
drwxr-xr-x 6 root root 4,0K  5. Apr 08:37 2.4.0
drwxr-xr-x 6 root root 4,0K  5. Apr 08:40 2.4.2
drwxr-xr-x 6 root root 4,0K 28. Apr 04:10 2.4.4
[root@h207 ruby]# /opt/plesk/ruby/2.4.4/bin/ruby -v
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
[root@h207 ruby]# /opt/plesk/ruby/2.4.2/bin/ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
[root@h207 ruby]#


But not in system environment
 
Hmmm,

we deinstall the plugin again with required nokoriki, that the page works.

But this isdnt an solution...?????
 
Back
Top