tenex / rails-assets

The solution to assets management in Rails
https://rails-assets.org
MIT License
1.63k stars 69 forks source link

rails-assets.org is down again again #462

Closed huangyq23 closed 4 years ago

huangyq23 commented 4 years ago
 Bundler::HTTPError Could not fetch specs from https://rails-assets.org/
eveevans commented 4 years ago

Same here...

kelsonpw commented 4 years ago

Also getting this error

Awatatah commented 4 years ago

same

shouta-dev commented 4 years ago

same

Awatatah commented 4 years ago

@joshjordan

wkaskie commented 4 years ago

329 suggests a mirror site. Any progress on that?

victorlcampos commented 4 years ago

Any suggests?

nathanhinchey commented 4 years ago

There's a build error in the google search results, so at least that suggests that the domain isn't expired (like in #450).

Screen Shot 2020-01-21 at 4 50 19 PM

(PS: #451, so that this issue shows up in that one)

asymptotik commented 4 years ago

I can't afford these outages. Will be looking to dump this dependency ASAP.

gabrielrdrguez commented 4 years ago

Down here too

wkaskie commented 4 years ago

Any suggests?

victorlcampos commented 4 years ago

Sry, I’m not the maintainer, I asked for a workaround suggestion

johnmcauley commented 4 years ago

Down for us also, any ideas?

inertia186 commented 4 years ago

https://www.spritle.com/blogs/2015/09/25/three-ways-to-manage-assets-in-rails/

gabrielrdrguez commented 4 years ago

@victorlcampos May not work right now as it's already down, but you may use a repo manager like https://www.sonatype.com/nexus-repository-oss to act as a proxy / cache for gems

Awatatah commented 4 years ago

3 hours and still down...

codeodor commented 4 years ago

Is there any reason to not do this?

#source 'https://rails-assets.org' do
  gem 'rails-assets-tether', '>= 1.1.0'
#end
johnmcauley commented 4 years ago

Is there any reason to not do this?

#source 'https://rails-assets.org' do
  gem 'rails-assets-tether', '>= 1.1.0'
#end

I wont find them as there is no source.

johnmcauley commented 4 years ago

If you are having issues you can bundler show rails-assets-tether, copy the gem into the vendor directory and reference using https://bundler.io/v2.0/man/gemfile.5.html#PATH. Then you can deploy safely - I hope.

victorlcampos commented 4 years ago

We are trying bundle package to deploy safety ... I hope this work

codeodor commented 4 years ago

@johnmcauley

In my scenario, I was assuming source 'https://rubygems.org' would also be in the gemfile, and it would fall back to that.

So to be more clear, is there any reason not to use source 'https://rubygems.org' instead of source 'https://rails-assets.org'?

johnmcauley commented 4 years ago

@johnmcauley

In my scenario, I was assuming source 'https://rubygems.org' would also be in the gemfile, and it would fall back to that.

So to be more clear, is there any reason not to use source 'https://rubygems.org' instead of source 'https://rails-assets.org'?

Reference the vendor dir - see how it’s done here: https://bundler.io/v2.0/man/gemfile.5.html#PATH

owen-c commented 4 years ago

@johnmcauley

In my scenario, I was assuming source 'https://rubygems.org' would also be in the gemfile, and it would fall back to that.

So to be more clear, is there any reason not to use source 'https://rubygems.org' instead of source 'https://rails-assets.org'?

Yes the reason is it would not work. The rails-assets-* gems do not exist in rubygems.org

It may appear to work on your local machine b/c you have all the rails-assets-* gems installed already, but if you try to bundle install on a clean machine it will fail to find them.

joshjordan commented 4 years ago

Working on recovering.

On Tue, Jan 21, 2020 at 6:50 PM Owen Cummings notifications@github.com wrote:

@johnmcauley https://github.com/johnmcauley

In my scenario, I was assuming source 'https://rubygems.org' would also be in the gemfile, and it would fall back to that.

So to be more clear, is there any reason not to use source ' https://rubygems.org' instead of source 'https://rails-assets.org'?

Yes the reason is it would not work. The rails-assets-* gems do not exist in rubygems.org

It may appear to work on your local machine b/c you have all the rails-assets-* gems installed already, but if you try to bundle install on a clean machine it will fail to find them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tenex/rails-assets/issues/462?email_source=notifications&email_token=AAD7LSSNVPWFVPF72KSMQSTQ66C2VA5CNFSM4KJYSZOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRWX7I#issuecomment-576941053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7LSV5NF37VMAXMS6CPSDQ66C2VANCNFSM4KJYSZOA .

nonatojunior commented 4 years ago

I'm not able to run the bundle install. This makes my project impossible to progress.

thadeu commented 4 years ago

seems to be down me too

joshjordan commented 4 years ago

Yes, when its down its down for everyone :) Working on a bit of a complex logistical issue with Digital Ocean support, I'm afraid. Will update this thread ASAP when I have more info.

EnriqueCanals commented 4 years ago

@joshjordan If there's anything I can do to help you resolve this issue, please don't hesitate to send over a DM. I definitely appreciate the effort put into maintaining this service, so I'm more than glad to provide any assistance I can to help resolve this outage.

joshjordan commented 4 years ago

@EnriqueCanals accept my request on twitter and I'll hit you up for help.

joshjordan commented 4 years ago

Everyone, we're at a bit of a roadblock and it may be a few hours until we've resolved it. In the meantime, this is a great chance to switch to webpacker or vendor your javascript libs to reduce your dependency footprint! Also working on a solution to host another instance of Rails Assets and repoint the DNS at that. Will let you all know, once again, when I have more to share.

joshjordan commented 4 years ago

We're probably about an hour away from getting this fixed.

richpeck commented 4 years ago

How much does it cost to keep it online?

krazyjakee commented 4 years ago

Is there a docker image so I can run rails-assets on my own servers? The readme has a development guide but how can I run this for production?

madoleary commented 4 years ago

Still down.

HariShankarS commented 4 years ago

Any work around ?

jaredsohn commented 4 years ago

Was able to work around this by removing or replacing gems that use rails-assets (could tell by looking at the list of the source 'https://rails-assets.org' section of the Gemfile). Fortunately it was only one gem and it wasn't critical. (It was just timezone detection and we used that only to set the default timezone for new users.)

ksbek commented 4 years ago

I use 5 rails-assets gems in my RoR project. For temporary solution, I created git repo on my github account and upload those gems to it. https://github.com/ksbek/rails-assets

And set gem path in the Gemfile like this. gem 'rails-assets-chartist', github: 'ksbek/rails-assets', branch: 'chartist' gem 'rails-assets-jquery', github: 'ksbek/rails-assets', branch: 'jquery' gem 'rails-assets-momentjs', github: 'ksbek/rails-assets', branch: 'momentjs' gem 'rails-assets-notifyjs', github: 'ksbek/rails-assets', branch: 'notifyjs' gem 'rails-assets-timeago', github: 'ksbek/rails-assets', branch: 'timeago'

BlackAppl3 commented 4 years ago

Is there any update?

sharshenov commented 4 years ago

As temporary workaround might work:

  1. Get server (referral link! to get credit for 2 months)
  2. Spin up your own gemserver docker run -d --restart unless-stopped -p 80:9292 -P -h geminabox --name geminabox -e USERNAME=myuser -e PASSWORD=mypassword spoonest/geminabox:latest
  3. Go to your bundler cache dir cd $GEM_HOME/cache
  4. Push gems to your server gen inabox rails-assets-somegem-1.0.gem -g http://myuser:mypassword@yourserveraddress
  5. Replace https://rails-assets.org with http://yourserveraddress in Gemfile

Then think about migrating to Webpacker or other solution

UPD: added referral link to get temporary server in case if it might be helpful to somebody

joshjordan commented 4 years ago

@krazyjakee I don't think so. @richpeck its not terrible, but cost isn't the primary issue right now.

If anyone is able to help out with temporary hosting, please contact me so we can work out a plan. The short of the situation is that we're locked out the Digital Ocean right now, and unable to get in to resolve the issue. Working closely with them on it.

Edit: fix wording to remove confusion.

miguelbernadi commented 4 years ago

@joshjordan We are willing to provide temporary hosting. Please contact me for details on setup.

joshjordan commented 4 years ago

Thanks for your patience, all. This is resolved. Please confirm you're able to bundle again.

bcardiff commented 4 years ago

As a workaround while this was being solved, I attempt to create the packages locally for vendoring.

If someone wants to go that way I dropped the following gist https://gist.github.com/bcardiff/3916e61bcce03959748468e89b53d19a

eveevans commented 4 years ago

I don't when this was solved, but now it is working again :)