• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Resolved Unable to install ruby gem

hardbrasil

Regular Pleskian
Hello fellas,

we are unable to install other gems on server. We already tried to downgrade Ruby version...

[root@admin httpdocs]# gem install mechanize -v 2.7.4
Building native extensions. This could take a while...
ERROR: Error installing mechanize:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h


Gem files will remain installed in /usr/local/share/gems/gems/unf_ext-0.0.7.2 for inspection.
Results logged to /usr/local/share/gems/gems/unf_ext-0.0.7.2/ext/unf_ext/gem_make.out
 
Hi hardbrasil,

:rolleyes: which OPERATING SYSTEM are you using, please?

For CentOS/RHEL - bases systems, you would use the command: yum install ruby-devel
For Debian/Ubuntu - based systems, you would use the command: apt-get install ruby-dev

In addition, it would really help if you provide informations about your ruby - package version, if you still experience issues. Pls. always remember, the more information you provide, the better will be suggestions from people willing to help you and due to the fact, that Plesk supports different operating systems, always keep in mind, that people willing to help you can't guess what you are using. ;)
 
Hello @UFHH01
i am using centos 7 with plesk 17. As i understand the installation of ruby was trought panel. and has v2.3
should i execute your command as well?

thsk
 
Back
Top