redmine无法启动,请问什么原因。

发布于 2021-12-06 01:14:18 字数 3369 浏览 921 评论 4

Exiting
/usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:317:in `rescue in depend_on': No such file to load -- core/rmagick (LoadError)
	from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:312:in `depend_on'
	from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:225:in `require_dependency'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:444:in `block (2 levels) in eager_load!'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:443:in `each'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:443:in `block in eager_load!'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:441:in `each'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:441:in `eager_load!'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'
	from /usr/local/redmine/config/environment.rb:14:in `<top (required)>'
	from /usr/local/redmine/config.ru:3:in `require'
	from /usr/local/redmine/config.ru:3:in `block in <main>'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
	from /usr/local/redmine/config.ru:in `new'
	from /usr/local/redmine/config.ru:in `<main>'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands/server.rb:46:in `app'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'
	from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands/server.rb:70:in `start'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:55:in `block in <top (required)>'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:50:in `tap'
	from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:50:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

高跟鞋的旋律 2021-12-08 21:20:08

rmagic 是一个gem ,  试试 bundle 命令

doc目录里有这几个文件:

.  ..  CHANGELOG  COPYING  INSTALL  README_FOR_APP  RUNNING_TESTS  UPGRADING

打开INSTALL看一下

 

醉生梦死 2021-12-08 12:16:33

这条怎么理解?因为先前启动都是正常的。因为把home的容量增加至root目录下,就出现了这种情况?

天涯离梦残月幽梦 2021-12-07 18:19:04

https://ruby-china.org/topics/33999

落墨 2021-12-06 12:41:43
in `rescue in depend_on': No such file to load -- core/rmagick (LoadError)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文