LoginSignup
1
3

More than 3 years have passed since last update.

bundle install時にsaasに関するエラーが発生した

Posted at

発生したエラー

RUNTEQのRuby on Railsの技術試験を受験し、環境構築をしている際に以下のエラーが発生しました。

ターミナルで以下のコマンドを入力

ターミナル
bundle install --path=vendor/bundle

すると最後の段階で以下のエラーが発生

ターミナル
Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

何やら使用しているものに関する注意書きのようです。
googleで翻訳をしてみると

エラーを解読

ターミナル

Ruby Sassはサポートが終了したため、使用しないでください。

* Sassをコマンドラインツールとして使用する場合、新しいDart Sassの使用をお勧めします
  主な実装:https://sass-lang.com/install

* SassをRuby Webフレームワークのプラグインとして使用する場合は、
  sassc gem:https://github.com/sass/sassc-ruby#readme

*詳細については、Sassブログを参照してください。
  https://sass-lang.com/blog/posts/7828841

とのこと、私はコマンドラインツールは別のものを使用しているため、今回は2番目のRaisでsassを使用する際に発生した注意みたいですね、記述通りにgithubに飛びREADMEを確認すると対応が書いてありました。

解決策

Gemfile
gem 'sassc'

こちらを記述すれば良いみたいです。
その後bundle installすると、無事完了しました。

原因

・sassって?
後日記載します

1
3
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
1
3