Page 1 of 1

LoadError: cannot load such file -- core/rmagick

Posted: 2018-09-11T09:14:25-07:00
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.

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

Posted: 2018-09-11T09:46:34-07:00
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

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

Posted: 2018-09-11T09:54:16-07:00
by Valknor
Thanks for the info, I'll try to look them up.