プログラム始学者のため、必要な情報が記載できていない可能性があり、ご迷惑をおかけします。
rails の開発環境を構築しているのですが、rails sでローカルサーバーを他立ち上げる際にエラーが出てしまっています。
色々と検索して、必要なファイル諸々インストール完了しているのですが、それでもうまく行きません。
ところどとこに missing compatible arch in
/Library/Ruby/Gems/2.6.0/gems/msgpack-1.3.3/lib/msgpack/msgpack.bundle - /Library/Ruby/Gems/2.6.0/gems/msgpack-1.3.3/lib/msgpack/msgpack.bundle (LoadError)と出てくるのですが、これの意味が分からず大変困っております。
ruby 3.0.0
Rails 6.1.0
Homebrew 2.7.1
rbenv 1.1.2を使っています。
エラー解消方法お分かりの方いらっしゃったらぜひ助けていただきたいです。
下記rails sを実行した際に出てくるメッセージを貼り付けています。
よろしくお願いします。
Traceback (most recent call last):
29: from bin/rails:2:in <main>' 28: from bin/rails:2:in
load'
27: from /Users/shouheismith/camplog/bin/spring:5:in <top (required)>' 26: from /Users/shouheismith/camplog/bin/spring:5:in
tap'
25: from /Users/shouheismith/camplog/bin/spring:8:in block in <top (required)>' 24: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require'
23: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' 22: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in
<top (required)>'
21: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in load' 20: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/bin/spring:49:in
<top (required)>'
19: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/client.rb:30:in run' 18: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/client/command.rb:7:in
call'
17: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in call' 16: from /Library/Ruby/Gems/2.6.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in
load'
15: from /Users/shouheismith/camplog/bin/rails:4:in <top (required)>' 14: from /Users/shouheismith/camplog/bin/rails:4:in
require_relative'
13: from /Users/shouheismith/camplog/config/boot.rb:4:in <top (required)>' 12: from /Users/shouheismith/camplog/config/boot.rb:4:in
require'
11: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/setup.rb:2:in <top (required)>' 10: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/setup.rb:2:in
require_relative'
9: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap.rb:5:in <top (required)>' 8: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap.rb:5:in
require_relative'
7: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache.rb:74:in <top (required)>' 6: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache.rb:74:in
require_relative'
5: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/store.rb:4:in <top (required)>' 4: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/explicit_require.rb:41:in
with_gems'
3: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/store.rb:4:in block in <top (required)>' 2: from /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/store.rb:4:in
require'
1: from /Library/Ruby/Gems/2.6.0/gems/msgpack-1.3.3/lib/msgpack.rb:9:in <top (required)>' /Library/Ruby/Gems/2.6.0/gems/msgpack-1.3.3/lib/msgpack.rb:9:in
require': cannot load such file -- msgpack/2.6/msgpack (LoadError)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/01/03 05:17
2021/01/03 05:24
2021/01/03 07:37
2021/01/03 07:53
2021/01/03 08:25
2021/01/03 08:48
2021/01/03 17:34