新手问题 clone 了 rubychina,bundle install 出来个错误

jeremy16601 · 2013年08月10日 · 最后由 kai1248 回复于 2013年08月10日 · 4031 次阅读

NoMethodError: undefined method size' for nil:NilClass An error occurred while installing celerity (0.9.2), and Bundler cannot continue. Make sure thatgem install celerity -v '0.9.2'` succeeds before bundling.

gem install celerity -v '0.9.2'

#1 楼 @kai1248 试过了,不行,第一次可以,第二次 出这个错误, ERROR: While executing gem ... (NoMethodError) undefined method `size' for nil:NilClass

是不是因为没有数据?

bundle update 试试

你运行其他程序 ok? 你看看这个 https://github.com/rubygems/rubygems/issues/519

需要 登录 后方可回复, 如果你还没有账号请 注册新账号