Rmagick 2.13.1 not being detected on Redmine 1.4.0 running on Windows.
I tried to get help on the forum (), but as I got no response, I assume it's a bug.
I managed to install ImageMagick and rmagick 2.3.1 following the instructions from this link:
My gem list show rmagick 2.3.1, as below:
*** LOCAL GEMS *** actionmailer (2.3.14) actionpack (2.3.14) activerecord (2.3.14) activeresource (2.3.14) activesupport (2.3.14) bundler (1.1.3) cgi_multipart_eof_fix (2.5.0) coderay (1.0.6) fastercsv (1.5.4) gem_plugin (0.2.3) i18n (0.4.2) json (1.6.6, 1.6.3) mongrel (1.1.5 x86-mingw32) mongrel_service (0.3.4 i386-mswin32) mysql (2.8.1 x86-mingw32) net-ldap (0.3.1) pg (0.13.2 x86-mingw32) rack (1.1.3, 1.1.1) rails (2.3.14) rake (0.9.2.2, 0.8.7) rdoc (3.12) rmagick (2.13.1) ruby-openid (2.1.8) sqlite3 (1.3.5 x86-mingw32) tzinfo (0.3.33) win32-service (0.5.2 mswin32)
But still, Redmine says that RMagick is not available... What am I missing? Does it have anything to do with the gemfile file?
#3 Updated by Peter Schuler about 1 year ago
I hab a Redmine 1.4.2 with
bundle install --without development test rmagick (so no rmagick working).
Thanks to Cassiano for forum post!
- Tried the forum post mentioned and finished installing rmagick gem 2.13.1
- Redmine admin still shows RMagick unavailable
bundle showwon't show rmagick either
bundle install --without development test
bundle showdoes show rmagick now
- restarting mongrel
- Redmine admin shows RMagick is available!
So perhabs "bundle" just needs to be reinitialized, or this is fixed in 1.4.2.
@Pavel, @Cassiano does this work for you?
#5 Updated by Pavel Potcheptsov 12 months ago
I did upgrade from 141 to 142, did
-bundle install --without development test postgresql sqlite rmagick
-Redmine admin shows RMagick unavailable
-bundle install --without development test postgresql sqlite
# bundle show Gems included by the bundle: * actionmailer (2.3.14) * actionpack (2.3.14) * activerecord (2.3.14) * activeresource (2.3.14) * activesupport (2.3.14) * bundler (1.1.3) * coderay (1.0.6) * fastercsv (1.5.5) * i18n (0.4.2) * mysql (2.8.1) * net-ldap (0.3.1) * rack (1.1.3) * rails (2.3.14) * rake (0.9.2.2) * rmagick (2.13.1) * ruby-openid (2.1.8) * tzinfo (0.3.33)
-still no available
#11 Updated by marco deluca 10 months ago
I still see "not available" in redmine/admin/info. New installation of redmine 2.0.3, installed rmagick (2.13.1) successfully, ran bundle install --without postgresql afterwards, and bundle show does have rmagick (2.13.1) in the list. I've restarted apache and still the app says rmagick is not available.
#14 Updated by marco deluca 9 months ago
@# bundle config
Settings are listed in order of priority. The top value will be used.
Set for your local app (/home/worklabs/tracker/redmine/.bundle/config): "postgresql"@
I'm searching around forums and whatnot to see if there have been any other solutions, but I still have a rmagick not available problem. bundle show does have rmagick 2.13.1 in the list.
Redmine version 2.0.3.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.6
Database adapter Mysql2
#15 Updated by marco deluca 8 months ago
Okay I finally figured this out. Basically the issue was Using CentOS with cPanel. From the beginning, cPanel doesn't support the ruby/rails requirements of redmine 2.x. Now I was previously able to get the proper rails environment setup, HOWEVER...
rmagick took some issues to get installed. There are posts about how to get rmagick installed ( sorry I dont have links ). Once rmagick was installed, HERE are the steps I took to get redmine to recognize rmagick:
1. Get the latest version of ImageMagick - assuming you have root access to your server:
tar -xzvf ImageMagick-6.7.9-4.tar.gz
./configure --prefix=/usr/local --libdir=/usr/lib64 --with-libdir=lib64
Then navigate to your redmine installation and do this from BASH ( note this command only works from Bash. do
echo $SHELL to figure out what shell you're using and figure out how to use Bash if you're not already )
gem uninstall rmagick
- C_INCLUDE_PATH=/usr/local/src/ImageMagick-6.7.9-4 bundle install --without test development postgresql