Aller au contenu

Do you support the RMagick gem?

Ce contenu n’est pas encore disponible dans votre langue.

Yes. You can use the RMagick gem on Ruachost hosting.

RMagick connects Ruby to the ImageMagick image library. It lets your Ruby application create, resize, crop and convert images.

Log in to your account with SSH and run:

Terminal window
gem list rmagick

If RMagick appears in the list, you can use it straight away with require 'rmagick'.

If it isn’t listed, install it for your own account:

Terminal window
gem install rmagick

If you use the Ruby selector in cPanel, activate your application’s Ruby environment first so the gem is installed for the right Ruby version.

Cette page vous a-t-elle aidé ?