2
4

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 5 years have passed since last update.

インストールしたいGemの安定バージョンを見る方法

Posted at

railsをインストールする時に、最新の安定バージョンを表示させたい時に困ったのでメモしておきます。

Gemの安定バージョンを表示

インストールしたいGemの安定バージョンを全部表示
gem list gemの名前 -rea
開発版を含む全部
gem list rails -rea --pre
最新安定版
gem list rails -re

バージョンを指定してGemをインストール

gem install gemの名前 -v バージョン
gem install rails -v "5.2.3"
2
4
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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?