Help us understand the problem. What is going on with this article?

EC2にデプロイした時に発生したエラー

  • font-awesomeをgemで使いたいと思いgemに追加したらec2でのbundle installでエラーが起きた時の対処法
gem 'font-awesome-sass', '~> 5.11.1'

エラー内容

An error occurred while installing sassc (2.2.1), and Bundler cannot continue.
Make sure that `gem install sassc -v '2.2.1' --source 'https://rubygems.org/'` succeeds before bundling.

gem install sassc -v '2.2.1' --source 'https://rubygems.org/'をインストールしろというのでしてからbundle installを再度してみたが結果は変わらず...

解決方法

gem install sassc -v '2.0.0' --source 'https://rubygems.org/'

詳しい理由は分からないが、ダウングレードでsasscを入れたところ解決することが出来た。(不思議だ..)
もし、理由について知っている人がいたらご教示いただきたい。

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away