1
2

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.

Mac × Vagrant : RubyEncoder Loader - Incompatible loader version.

Posted at

Mac と Vagrant でフォルダ共有するため、プラグイン「vagrant-vbguest」をインストール後、Vagrant をリロードしようとすると、RubyEncoder のエラーが発生した。
無視して vagrant up を試みたが、同様の RubyEncoder が発生した。

環境

  • maxOS High Sierra (version 10.13.6)
  • VirtualBox 5.2.6 r120293
  • Vagrant 2.0.1

エラー内容

$ vagrant reload
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

RubyEncoder Loader - Incompatible loader version. This protected script has been encoded with a newer version of RubyEncoder. Please download and install the latest loaders http://www.rubyencoder.com/loaders/ Error code [19]

解決方法

  1. Ruby Encoderのページから MacOS 用 zip ファイルをダウンロードする。
  2. /Users/<ユーザ名>/.vagrant.d/rgloader を zipファイルの内容で上書きする(インストール先によりパスは変わるかも)。

備考:zip ファイル内の loader.rb の作成日は 2019/11/18 でした。

参考

フォルダ共有については、以下サイトを参考にさせていただきました。
Vagrant ファイル共有 決定版

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?