Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle update 失败 #569

Closed
zhen9ao opened this issue Sep 13, 2013 · 7 comments
Closed

bundle update 失败 #569

zhen9ao opened this issue Sep 13, 2013 · 7 comments
Assignees

Comments

@zhen9ao
Copy link

zhen9ao commented Sep 13, 2013

错误如下:

Updating git://github.com/flingbob/acts_as_follower.git
Updating git://github.com/saberma/priceable.git
Updating git://github.com/scambra/devise_invitable.git
Updating git://github.com/norman/friendly_id.git
Updating git://github.com/jasl/guard-delayed.git
Updating git://github.com/searls/jasmine-rails.git
Fetching source index from http://ruby.taobao.org/
Resolving dependencies...
Bundler could not find compatible versions for gem "devise":
  In Gemfile:
    devise (~> 3.0.1) x86-mingw32

    devise_invitable (>= 0) ruby depends on
      devise (3.1.0)

Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (= 4.0.0) x86-mingw32

    simple_form (~> 3.0.0.rc) x86-mingw32 depends on
      activesupport (4.0.0.rc1)
@ywjno
Copy link
Contributor

ywjno commented Sep 14, 2013

顺便告知一下使用的 ruby 的版本是不是 1.9.3,再说你确定不是运行 bundle install 这个命令么?

@ghost ghost assigned ywjno Sep 14, 2013
@zhen9ao
Copy link
Author

zhen9ao commented Sep 14, 2013

哦,不好意思,搞忘了

ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.4.0]
Rails 4.0.0

bundle install 可以安装成功,但是update的时候会出这个错误

@ywjno
Copy link
Contributor

ywjno commented Sep 14, 2013

在 win 下的 2.0.0 版本的 ruby 有很多 gem 还没有对应过来,要是不想用 1.9.3 的话就需要自己折腾了。。

@zhen9ao
Copy link
Author

zhen9ao commented Sep 14, 2013

我用的Mac OS X 10.8.5,就是比较奇怪为啥会依赖 x86-mingw32 的devise

@doitian
Copy link
Member

doitian commented Sep 14, 2013

为什么要 bundle update?

@windy
Copy link
Contributor

windy commented Dec 2, 2013

@zhen9ao @doitian 这个问题是因为 bundle 的跨平台支持问题, 见 rubygems/bundler-features#4. 我猜是 bundle update 时需要在相同的环境运行, 我们的 Gemfile.lock 正是好是 mingw32 所致.

@windy
Copy link
Contributor

windy commented Dec 2, 2013

这个问题直接关闭了, 不需要 bundle update.

@windy windy closed this as completed Dec 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants