Bundler :: MarshalError TypeError:不兼容的编组文件格式+ Ruby CAS Server

时间:2015-08-03 06:19:12

标签: ruby-1.8.7 rubycas-server

我已经克隆了rubycas-server项目,并按照他们在文档中提到的步骤进行操作。当我在进行bundle install时,我收到以下错误:

Fetching gem metadata from http://rubygems.org/....Retrying dependency api due to error (2/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.72 given
Retrying dependency api due to error (3/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.72 given
Retrying dependency api due to error (4/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.72 given

我不知道为什么会出现这条消息,而我正在使用Ruby 1.8.7。 是否遗漏了任何步骤或哪个ruby版本适合运行Ruby CAS Server?

1 个答案:

答案 0 :(得分:0)

你可以尝试

bundle install --full-index

哪个强制新下载索引