will_paginate install timeout error when installing - will-paginate

Anyone having trouble trying to install the will_paginate plugin. When I try to install I get a timeout error. I have tried it a bunch of times with no luck.
rails plugin install svn://errtheblog.com/svn/plugins/will_paginate
svn: Can't connect to host 'errtheblog.com': Operation timed out

Oops for anyone trying to install the plugin and having trouble like me try installing the gem. https://github.com/mislav/will_paginate/wiki/Installation

Related

IOError: HTTP session not yet started when running [gem install bundler]

I tried to install bundler by using gem install bundler, however, I got the following error message:
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - IOError: HTTP session not yet started (https://rubygems.org/specs.4.8.gz)
Also, I tried to install webpacker by using gem install webpacker, and I got the following error message:
ERROR: Could not find a valid gem 'webpacker' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - timed out (https://rubygems.org/specs.4.8.gz)
Can anyone help me fix these two issues? I have searched on Google, but I didn't see efficient answers.
I installed ruby-2.7.2 using rvm on M1 chip macOS Big Sur 11.4.
Thanks Thanks Thanks!!!
It seems that you are not accessing rubygems.org. It can be an authorization issue on your end. Make sure that api.rubygems.org is correctly authorized.
You can test it by running curl https://api.rubygems.org/specs.4.8.gz

Install rails in windows machine: error fetching http://rubygems.org

I'm trying to install rails on windows7. Rails not getting installed
gem sources --add http://rubygems.org commands throws error like Error fetching http://rubygems.org timed out http://API.rubygems.org/specs.4.8.gz
Can anyone help me resolve this.
This could be solved by updating your rubygems to latest version.
gem update --system
Finally I resolved this error by adding http://rubygejs.org/ to .gemrc.

Unable to install logstash elapsed plugin in Windows 10

I have logstash 5.5 and when I run
./logstash-plugin install logstash-filter-elapsed
I get the error message
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core (5.5.0), and Bundler cannot continue.
Make sure that `gem install logstash-core -v '5.5.0'` succeeds before bundling.
As per the logstash guide, the only requirement is jdk 8 and I have properly installed it and set my JAVA_HOME environment variable.
I've already tried so many ways including installing ruby and installing logstash-core (error again, cannot find the gem).
I'm running Windows 10. Any ideas on why this happens and how to resolve it?
Many thanks.

Getting following error An error occurred while installing json (1.8.1), and Bundler cannot continue

I am trying to create a new rails app. But I am getting following error while running bundle install:
An error occurred while installing json (1.8.1), and Bundler cannot continue.
I tried various options like xcode-select --install, rm -rf test as given in previously asked questions but without success.
Please help me in resolving this issue. I am stuck because of this error.
There is a problem with xcode if you are using MacOS X 10.8. You can try to solve a problem with this manual: http://robots.thoughtbot.com/the-hitchhikers-guide-to-riding-a-mountain-lion
Also, there can be a problem with superuser. Try to install json with sudo.
sudo gem install json -v '1.8.1'

Installing Rails 3.2/Ruby 1.9.2 on Ubuntu Server

I've been working with Rails a while now, and want to setup a local VM'd server. For some reason, I keep running into errors while trying to install Rails on Ubuntu Server 11.10. Specifically, when running 'gem install rails', I get errors about not being able to build native extensions. Moreover, after I install Ruby, it says it's version 1.9.2, but after attempting to install Rails, it's telling me it's version 1.8.7... I'm at my wits end here, and Google isn't helping.
Can anyone give me a quick rundown of the commands to make this work, from Ruby installation onwards? It should be simple, but I'm obviously missing a step or two, and my Google Fu is failing me horribly. Any help would be greatly appreciated.
I will guess that you're having trouble installing the linecache19 gem. You need to get a copy of the ruby source and install the gem with
gem install ruby-debug19 -- --with-ruby-include=/path/to/ruby/source
You know, someone should fix this...

Resources