0

我已经克隆了该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 服务器?

4

1 回答 1

0

你可以试试

bundle install --full-index

这会强制重新下载索引

于 2015-08-10T09:34:55.350 回答