gpt4 book ai didi

bundler - "The gem ... has been deleted. It was installed at"错误。 bundle 安装不安装 gems。如何重新安装 gem ?

转载 作者:行者123 更新时间:2023-12-04 17:36:25 27 4
gpt4 key购买 nike

我正在尝试在 XP 上构建 capybara-webkit。我关注 this instruction .我说:

8) Clone latest version of capybara-webkit from Github:

$ git clone git://github.com/thoughtbot/capybara-webkit.git

9) Bundle/Install capybara-webkit version:

$ cd ruby193\capybara-webkit
$ bundle install

我第一次这样做。它安装了一些 gem 。然后我按照说明步骤操作,但无法构建 capybara-webkit。因此,再次开始时,我删除了所有手动安装的 gem。现在我遵循所有相同的步骤,但 bundle install不再起作用了。我说所有的 gem 都存在:
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems>cd capybara-webkit

C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\capybara-webkit>bundle install
Resolving dependencies...
Using rake (0.9.2)
Using addressable (2.3.2)
Using bundler (1.3.5)
Using appraisal (0.4.0)
Using mime-types (1.22)
Using nokogiri (1.5.9)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using xpath (2.0.0)
Using capybara (2.1.0)
Using json (1.8.0)
Using capybara-webkit (1.0.0) from source at .
Using ffi (1.2.0)
Using childprocess (0.3.6)
Using diff-lcs (1.1.2)
Using websocket (1.0.6)
Using libwebsocket (0.1.7.1)
Using subexec (0.0.4)
Using mini_magick (3.2.1)
Using multi_json (1.5.0)
Using rack-protection (1.3.2)
Using rspec-core (2.6.4)
Using rspec-expectations (2.6.0)
Using rspec-mocks (2.6.0)
Using rspec (2.6.0)
Using rubyzip (0.9.9)
Using selenium-webdriver (2.27.2)
Using tilt (1.3.3)
Using sinatra (1.3.5)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

但现在我用 bundle show 检查这些 gem 但它说它们都被删除了:
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\capybara-webkit>bundle show sinatra
The gem sinatra has been deleted. It was installed at:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sinatra-1.3.5

C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\capybara-webkit>bundle show selenium-webdriver
The gem selenium-webdriver has been deleted. It was installed at:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.27.2

C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\capybara-webkit>bundle show mini_magick
The gem mini_magick has been deleted. It was installed at:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mini_magick-3.2.1

怎么会这样 bundle install说他们在场,但 bundle show说他们被删除了?所以 bundle install不再起作用了。我该如何再次使用 bundle install再次安装这些 gem ?

最佳答案

关于bundler - "The gem ... has been deleted. It was installed at"错误。 bundle 安装不安装 gems。如何重新安装 gem ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17470165/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com