"Gemstone ... removed. It has been set to" Error. Installing the package does not install gems. How to reinstall gems?

I am trying to create capybara-webkit on XP. I follow this instruction . I say:

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 

I did it the first time. He set some gems. Then I followed the instructions, but could not create capybara-webkit. Therefore, to start again, I removed all the gems that were manually installed. Now I follow all the same steps, but bundle install no longer works. I say that all gems are present:

 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. 

But now I am checking these gems on a bundle show , but he says that they were all removed:

 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 

How can it be that bundle install says that they are present, but bundle show says that they are removed? So bundle install no longer works. How can I use bundle install again to install these gems again?

+4
source share

Source: https://habr.com/ru/post/1489705/


All Articles