Redmine:运行 redmine_wktime 插件错误:rufus-scheduler-3.0.3
Redmine : error in running redmine_wktime plugin : rufus-scheduler-3.0.3
我用的是redmine 3.3.1
我想安装插件 "redmine_wktime"
插件的文档:https://github.com/dhanasingh/redmine_wktime,
正如文档所说,我需要:
1) 将插件文件导入到我的 redmine 文件夹的插件文件夹中:/opt/redmine/redmine-3.3.1/plugins/ (DONE)
2) 通过 运行 更新 rails 架构:
rake redmine:plugins:migrate NAME=redmine_wktime RAILS_ENV=production (完成)
3) 授予文件夹的读取权限:
/opt/redmine/redmine-3.3.1/public/plugin_assets/redmine_wktime/(完成)
4) 捆绑安装 (完成)
5) 重新启动 apache:服务 apache2 重新启动 (完成)
直到这一步,一切都已完成,没有任何问题或错误消息:
但是当我尝试 运行 本地主机上的 redmine 应用程序时
我收到这个错误,它说 "rufus-scheduler-3.0.3"
出了点问题
Could not find rufus-scheduler-3.0.3 in any of the sources
(Bundler::GemNotFound)
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:95:in
block in materialize'<br>
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:88:in
map!'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:88:in
materialize'<br>
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:174:in
specs'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:233:in
specs_for'<br>
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:222:in
requested_specs'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:118:in
block in definition_method'<br>
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:19:in
setup' /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler.rb:99:in
setup'<br>
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/setup.rb:20:in
'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
require'<br>
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
rescue
in require'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in
require'<br>
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:263:in
block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:366:in
running_bundler'<br>
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:261:in
run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:100:in
preload_app'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
<module:PhusionPassenger>'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in
'
我该怎么办???
运行 简单地解决了这个问题:
bundle install --deployment
而不仅仅是:
bundle install
我用的是redmine 3.3.1
我想安装插件 "redmine_wktime"
插件的文档:https://github.com/dhanasingh/redmine_wktime,
正如文档所说,我需要:
1) 将插件文件导入到我的 redmine 文件夹的插件文件夹中:/opt/redmine/redmine-3.3.1/plugins/ (DONE)
2) 通过 运行 更新 rails 架构:
rake redmine:plugins:migrate NAME=redmine_wktime RAILS_ENV=production (完成)
3) 授予文件夹的读取权限:
/opt/redmine/redmine-3.3.1/public/plugin_assets/redmine_wktime/(完成)
4) 捆绑安装 (完成)
5) 重新启动 apache:服务 apache2 重新启动 (完成)
直到这一步,一切都已完成,没有任何问题或错误消息:
但是当我尝试 运行 本地主机上的 redmine 应用程序时 我收到这个错误,它说 "rufus-scheduler-3.0.3"
出了点问题Could not find rufus-scheduler-3.0.3 in any of the sources (Bundler::GemNotFound)
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:95:inblock in materialize'<br> /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:88:in
map!'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/spec_set.rb:88:inmaterialize'<br> /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:174:in
specs'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:233:inspecs_for'<br> /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/definition.rb:222:in
requested_specs'
/var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:118:inblock in definition_method'<br> /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:19:in
setup' /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler.rb:99:insetup'<br> /var/lib/gems/2.1.0/gems/bundler-1.13.7/lib/bundler/setup.rb:20:in
'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:inrequire'<br> /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
rescue in require'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:inrequire'<br> /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:263:in
block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:366:inrunning_bundler'<br> /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:261:in
run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:100:inpreload_app'<br> /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in<module:PhusionPassenger>'<br> /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in
'
我该怎么办???
运行 简单地解决了这个问题:
bundle install --deployment
而不仅仅是:
bundle install