The rake command does not work.

Asked 2 years ago, Updated 2 years ago, 386 views

We are building an environment using Git Bush.
What I want to do is launch the mock.
I entered this command because I wanted to create a database before that.
I'm very sorry, but I'm an amateur programming college student, so I'd appreciate it if you could write down the specific code and teach me.

Also, I have written some of the commands below that I have tried, but the same error code appears no matter what code I try.
Is there any omission in the original setting?

Command you want to complete

 rails db:create

Problems/Error Messages you are experiencing

rake aborted!LoadError: incompatible library version-/home/vagrant/hoge/vendor/bundle/ruby/2.7.0/gems/msgpack-1.3.3/lib/msgpack/msgpack.so

Tried code

$bundle exec rakedb:create
$ rake-T

environment

  • Windows 10
  • rbenv2.7.1
  • Ubuntu 20.04

ruby-on-rails ruby vagrant rake

2022-09-30 21:53

1 Answers

Have you read the following article?
Solutions are provided for the same error message.

https://qiita.com/shota0701nemoto/items/523ba100690e90d22d24


2022-09-30 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.