sam0101
sam0101

Reputation: 375

I could not install masonry-rails gem in my rails app

when I add masonry-rails gem in my gemfile and try bundle install I get this:

Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs  from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch  specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Could not fetch specs from https://rubygems.org/

I check the last version for masonry in rubygem and the last one was in 2014... is masonry still working ? It seems that the problem is from the masonry gem...I try bundle install after I delete it from gem file and it work... Any one can help with that?

Upvotes: 0

Views: 239

Answers (3)

puneet18
puneet18

Reputation: 4427

I install masonry-rails gem in rails 5 app and it installed very well.

You can try to install masonry js from below link:

http://masonry.desandro.com/

Upvotes: 0

Francis
Francis

Reputation: 101

i had the same problem. because i was using a virtualbox, and i changed the network config (from NAT to private network) in order to access the rails web server.

So, first, try ping rubygems.org

Upvotes: 0

Miad Abrin
Miad Abrin

Reputation: 968

Try changing the https version of rubygems to http in your Gemfile.

Upvotes: -1

Related Questions