LoginSignup
0
0

More than 1 year has passed since last update.

rails構築時の対処(自分用メモです( ´Д`))

Last updated at Posted at 2023-04-07

gem install bundlergem install railsを行いました。

rbenv versionsで確認しました。

rbenv --version で確認しました。

bundle installのコマンド入力により下記エラーが発生

An error occurred while installing nio4r (2.5.9), and Bundler cannot continue.

ググって下記コマンド入力
sudo gem install nio4r

An error occurred while installing puma (5.6.5), and Bundler cannot continue.
のエラーに対しては下記コマンドを入力
sudo gem install puma -v '5.6.5'

その後Gemfileにて

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"

という記述から

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.6.5"

に変更しました

再度
bundle install
と打つと成功

An error occurred while installing nio4r (2.5.9), and Bundler cannot continue.
上記エラー分は何度も表示されたので、表示されたモジュール名?をひたすらインストールしました。

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