LoadError: cannot load such file -- core/rmagick

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
Valknor
Posts: 2
Joined: 2018-09-11T08:45:27-07:00
Authentication code: 1152

LoadError: cannot load such file -- core/rmagick

Post by Valknor »

Hello,

I have been trying to follow this guide on installing redmine: http://www.redmine.org/projects/redmine ... n_Debian_9

EDIT: I'm running Debian 9, if that helps.

When I run

Code: Select all

bundle exec rake generate_secret_token --trace
I get the following error:

Code: Select all

rake aborted!
LoadError: cannot load such file -- core/rmagick
/home/chris/.rvm/gems/ruby-2.5.1/gems/rbpdf-1.19.5/lib/rbpdf.rb:70:in `require'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rbpdf-1.19.5/lib/rbpdf.rb:70:in `<top (required)>'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `require'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `each'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `block in require'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `each'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `require'
/home/chris/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/bundler.rb:114:in `require'
/www/redmine/redmine-3.4.6/config/application.rb:5:in `<top (required)>'
/www/redmine/redmine-3.4.6/Rakefile:5:in `require'
/www/redmine/redmine-3.4.6/Rakefile:5:in `<top (required)>'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:82:in `block in run'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
/home/chris/.rvm/gems/ruby-2.5.1/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/chris/.rvm/gems/ruby-2.5.1/bin/rake:23:in `load'
/home/chris/.rvm/gems/ruby-2.5.1/bin/rake:23:in `<main>'
/home/chris/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval'
/home/chris/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'
I have tried uninstalling ruby and purging it, then reinstalling. I have also tried installing and uninstalling rmagick. Has anyone seen this error before, or have any idea what's going on?

Any help you folks can provide would be appreciated.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: LoadError: cannot load such file -- core/rmagick

Post by fmw42 »

This does not look like an Imagemagick issue. Perhaps you should consult with the Ruby/RMagick developers. The Imagemagick developers do not maintain RMagick
User avatar
Valknor
Posts: 2
Joined: 2018-09-11T08:45:27-07:00
Authentication code: 1152

Re: LoadError: cannot load such file -- core/rmagick

Post by Valknor »

Thanks for the info, I'll try to look them up.
Post Reply