我正在制定从ruby-1.8.7到rvm的ruby-1.9.2的详细信息,我遇到了将一个ruby复制到另一个ruby的问题,我想看看如果有人知道这笔交易是什么,为什么我会犯错。rvm gemset复制错误
我已经安装了1.9.2,但运行rvm gemset copy
却出现错误。
[22:11][adamstacoviak:~]$ rvm gemset copy ruby-1.8.7-p249 ruby-1.9.2-p180
Copying gemset from ruby-1.8.7-p249 to ruby-1.9.2-p180
cp: cannot overwrite directory /Users/adamstacoviak/.rvm/gems/ruby-1.9.2-p180/cache with non-directory /Users/adamstacoviak/.rvm/gems/ruby-1.8.7-p249/cache
Making gemset for ruby-1.9.2-p180 pristine.
ERROR: Error running 'rvm gemset pristine' under ,
please read /Users/adamstacoviak/.rvm/log/ruby-1.8.7-p249/gemset.pristine.log
...这里是日志文件的内容。我也更新了捆绑器,因为我看到它提到bundler-1.0.12
未找到。更新到bundler 1.0.12
没有办法。
[2011-04-12 22:09:54] rvm gemset pristine # under ruby-1.9.2-p180
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::RemoteFetcher
Restoring gem(s) to pristine condition...
Cached gem for bundler-1.0.12 not found, attempting to fetch...
[2011-04-12 22:14:26] rvm gemset pristine # under ruby-1.9.2-p180
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::RemoteFetcher
Restoring gem(s) to pristine condition...
Cached gem for bundler-1.0.12 not found, attempting to fetch...
为什么rvm gemset copy
是犯错有什么想法?
这不能确保宝石兼容。看到锡文的回答 – Wes 2011-04-13 04:28:21
这可能会崩溃与本土司机的宝石。 – 2011-04-13 04:30:07