0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

cannot load such file -- ffi の解決法

0
Posted at

エラーについて

Rails7環境上で画像投稿をしようとしたときにでたエラー

LoadError in 〇〇sController#create
cannot load such file -- ffi

解決法

Before

gemfile
# gem "sassc-rails"

After

gemfile
gem "sassc-rails"

Rails Ver7からは上記の記載がコメントアウトされており、インストール時に適用されない。

コメントアウト解除後、

cmd
bundle install 

により無事解決。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?