Unable to bundle install 'open-uri'
12,960
OpenUri is part of the Ruby standard library, you only need to require it if you want to use it in your code. No gem is required.
Author by
user2709885
Updated on June 27, 2022Comments
-
user2709885 almost 2 years
I am very new to Rails. I am making a web application in which I am using nokogiri to search different websites to extract text from them. And so in the Gemfile, I have written require 'nokogiri' and 'open-uri', but when I bundle install I get this error :
Could not find gem 'open-uri (>= 0) ruby' in the gems available on this machine
But when I do require 'open-uri' in my console, it displays yes. So why can't I bundle install, or is there any alternative to it ?