-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy broken: mime-types-data requires Ruby version >= 2.0. #5145
Comments
We ran into this and it was keeping us from deploying. A workaround that worked for us:
|
My workaround was: deploy:
edge:
source: fasterthanlime/dpl
branch: patch-1
# normal deploy params but yours is much sweeter :) I have a PR open at travis-ci/dpl#365 but I'm not sure how good of a fix it is. |
Workaround for: * travis-ci/travis-ci#5145
@mnutt awesome fix man! |
this still happens to me on a linux private build when uploading to s3:
|
we can't deploy to production because of this. aws s3 deploys are broken. |
@oryband yup, the issue is still open, waiting on a response from the @travis-ci team — in the meantime, mnutt's workaround will probably work for you! #5145 (comment) 🔩 |
@fasterthanlime thanks, using this hack in the meanwhile. |
to fix this on linux and osx you can try this modified workaround:
|
@sreimers It works, thanks! |
workaround as suggested here: travis-ci/travis-ci#5145
It was broken due to an issue with Ruby. This is meant to be a temporary fix. travis-ci/travis-ci#5145
It was broken due to an issue with Ruby. This is meant to be a temporary fix. travis-ci/travis-ci#5145
deploy broken: mime-types-data requires Ruby version >= 2.0 travis-ci/travis-ci#5145
Having this issue as well |
Nevermind - ours is a separate issue - unrelated to Travis |
see travis-ci/travis-ci#5145 and thanks to @jwvanderbeck. Close #401
Still having this problem. Opened last year. ????????????? |
@refeuerlein Sorry for the troubles. Sounds like something else updated to require a newer version of |
Before this fix some of our Travis builds failed with: Gem::InstallError: mime-types-data requires Ruby version >= 2.0. Fix found here: travis-ci/travis-ci#5145 (comment)
Using solution proposed by here: travis-ci/travis-ci#5145
Using solution based on info from: - travis-ci/travis-ci#5145 - sj26/mailcatcher#277
Using solution based on info from: - travis-ci/travis-ci#5145 - sj26/mailcatcher#277
Using solution based on info from: - travis-ci/travis-ci#5145 - sj26/mailcatcher#277
Using solution based on info from: - travis-ci/travis-ci#5145 - sj26/mailcatcher#277
Same issue |
Fixed problem by downgrading from rails '4.2.6' to rails '4.1.0'. |
Just noticed my nested_form_fields gem seems to have this issue: https://travis-ci.org/ncri/nested_form_fields Anyone any idea what I could do to get the 1.9.3 build pass? |
@ncri Looking at https://rubygems.org/gems/public_suffix/versions, https://rubygems.org/gems/public_suffix/versions/1.4.6 was the last version of |
Oh, sorry for this, not sure how I ended up here. Is there an issue open for this? Or should I open one? public_suffix is not needed by my gem, travis seems to add it. At least it's not in my Gemfile.lock. Or is it possible that the gemspec had a gem depending on? But wouldn't it be written into the .lock file in that case? So it seems I cannot do anything about it myself. |
Ah, never mind, the Gemfile.lock file is not checked in anyway, so I assume I need to enforce a version in one of the gems in my gemspec. Hard to find out which one has the public_suffix dependency though. Any pointers? Thanks! I'm out here then ;-) |
|
thx |
* add travis-ci build testing * fix travis-ci bugs about mime-types travis-ci/travis-ci#5145 * Travis CI: Enable caching, don't install docs * travis: Also cache rvm dir
Looks like the deploy step is broken because mime-types 3.0 requires ruby 2.0
Example log
Could you either:
~>2.0
for exampleThanks in advance! 🌟
The text was updated successfully, but these errors were encountered: