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

check_version_conflict: can't activate xxxx, already activated xxxxx (Gem::LoadError)

Last updated at Posted at 2017-07-20

この記事について

  • タイトルのようなエラーが出た際の対処方法について

エラー内容

check_version_conflict: can't activate net-ssh-3.2.0, already activated net-ssh-2.9.2 (Gem::LoadError)

原因

  • 既に複数のgemがInstallされていて、activateしたいGemがactivateできない為と思われます。

対処方法

  • 私のケースでは、古いGemがactivatedされていたので、古いGemを削除しました。
# 例: bundle exec gem uninstall [対象のGem名]

$ bundle exec gem uninstall net-ssh

Select gem to uninstall:
 1. net-ssh-2.9.2
 2. net-ssh-2.9.4
 3. net-ssh-3.2.0
 4. All versions
> 1

  • 上記のような感じで、1,2を削除しました。
1
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
1
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?