I try install Canvas LMS on ubuntu 20.4 And I get the error when executing this command
commands:
sysadmin@appserver:var/canvas$ sudo yarn install sysadmin@appserver:/var/canvas$ sudo RAILS_ENV=production bundle exec rake canvas:compile_assets
Result:
debug_inspector extension was not loaded rake aborted! LoadError: incompatible library version - /var/canvas/vendor/bundle/ruby/2.7.0/gems/io-console-0.5.11/lib/io/console.so /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in
block in require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:291:in load_dependency' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in
require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/reline-0.3.1/lib/reline.rb:1:in <top (required)>' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in
require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in block in require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:291:in
load_dependency' /var/canvas/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in require' /var/canvas/vendor/bundle/ruby/2.7.0/gems/irb-1.4.1/lib/irb.rb:13:in
<top (required)>' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:66:in require' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:66:in
block (2 levels) in require' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:61:in each' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:61:in
block in require' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:50:in each' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/runtime.rb:50:in
require' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler.rb:174:in require' /var/canvas/config/application.rb:28:in
<top (required)>' /var/canvas/Rakefile:6:in require' /var/canvas/Rakefile:6:in
<top (required)>' /var/canvas/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in
load' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in kernel_load' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:28:in
run' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:474:in exec' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
run' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in
dispatch' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in dispatch' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
start' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in start' /var/lib/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:49:in
block in <top (required)>' /var/lib/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in with_friendly_errors' /var/lib/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:37:in
<top (required)>' /usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in
' (See full trace by running task with --trace)
ruby version : 2.7.5 gem: 3.1.6
Aucun commentaire:
Enregistrer un commentaire