Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 143 Vote(s) - 3.57 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where can I install gems from when rubygems.org is down?

#1
Currently Rubygems.org is down - the website reports an error, and a few gem install tasks are returning 500 errors.

Is there a mirror / backup source of gem files, or is rubygems.org essentially a single point of failure within the ruby gem installation process ?

Reply

#2
Mirror for Asia/Pacific Region: [`https://ruby.taobao.org/`][1] (recommended, high availability, syncing every 15 min)

Other mirrors:

[To see links please register here]

[To see links please register here]



[1]:

[To see links please register here]

Reply

#3
If you've got the gem on some other computer, or on other rubies on the same
computer, use
<code>gem server</code>
to create your own gem server.

Otherwise, download the source code for the gem in question from github, and do
the rake task to build the gem.
Reply

#4
As per several folks on Twitter, add this to your Gemfile:

source 'https://production.cf.rubygems.org'

Also, if you're not using Bundler you can just run:

$ gem source -a 'https://production.cf.rubygems.org'

For the record, the folks on Twitter include:

[laizer](

[To see links please register here]

), [iltempo](

[To see links please register here]

), and [jimneath](

[To see links please register here]

). Major thanks to them for saving my morning :)
Reply

#5
Having experienced my share of flaky network connections I find I've most often got the .gem files I need on my system, it's just a matter of finding them and installing them locally.

Use the `find` command to find local `.gem` files and install them directly with `gem install [file]`.

find ~/.rbenv/versions -type f -name 'minitest*.gem'

That works for individual gems but if you need to install dependencies, etc. it can be a pain.
Reply

#6
same issue affecting all git push to **Heroku**

solved the same was by changing the source on GemFile to the

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through