当我去执行rake db时:创建显示错误常量DL和小提琴未定义
我使用的是ruby 2.2.3。我想我的rjb有问题
耙子中止了!未定义常量DL和小提琴。
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in load'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in
init'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:72:in block in <class:Railtie>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in
call'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in execute_hook'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:45:in
阻止在run_load_hooks中
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in each'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in
run_load_hooks'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application/finisher.rb:62:in block in <module:Finisher>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in
instance_exec'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in run'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:55:in
阻止run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:54:in run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:352:in
初始化!'
/home/nibo/rails_workplace/ekylibre/config/environment.rb:5:in <top (required)>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in block in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in
load_dependency'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:328:in
require_environment!'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:457:in block in run_tasks_blocks'
/home/nibo/rails_workplace/ekylibre/lib/tasks/db/tenanting.rake:19:in
阻止'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rake-12.1.0/exe/rake:27:in <top (required)>'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in
eval'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in <main>'
LoadError: cannot load such file -- dl
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in
load'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in init'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:72:in
阻止'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in call'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in
execute_hook'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in
每个'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application/finisher.rb:62:in
阻止'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in instance_exec'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in
run'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:55:in block in run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:54:in
run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:352:in initialize!'
/home/nibo/rails_workplace/ekylibre/config/environment.rb:5:in
'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in
阻止在'需要'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:328:in require_environment!'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:457:in
阻止在run_tasks_blocks中
/home/nibo/rails_workplace/ekylibre/lib/tasks/db/tenanting.rake:19:in block in <top (required)>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rake-12.1.0/exe/rake:27:in
'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in eval'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in
'
小提琴:: DLError:/usr/local/java/9-internal/jre/lib/amd64/server/libjvm.so:无法打开共享对象文件:没有这样的文件或目录
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in load'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:62:in
init'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rjb-loader-0.0.2/lib/rjb-loader.rb:72:in block in <class:Railtie>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in
call'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:36:in execute_hook'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:45:in
阻止在run_load_hooks中
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in each'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:44:in
run_load_hooks'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application/finisher.rb:62:in block in <module:Finisher>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in
instance_exec'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:30:in run'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:55:in
阻止run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/initializable.rb:54:in run_initializers'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:352:in
初始化!'
/home/nibo/rails_workplace/ekylibre/config/environment.rb:5:in <top (required)>'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/skylight-1.3.1/lib/skylight/probes.rb:81:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in block in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in
load_dependency'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:328:in
require_environment!'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/railties-4.2.10/lib/rails/application.rb:457:in block in run_tasks_blocks'
/home/nibo/rails_workplace/ekylibre/lib/tasks/db/tenanting.rake:19:in
阻止'
/home/nibo/.rvm/gems/ruby-2.2.5/gems/rake-12.1.0/exe/rake:27:in <top (required)>'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in
eval'
/home/nibo/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in`'