• 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 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