Skip to content
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

[Travis] ArgumentError: invalid byte sequence in US-ASCII (ruby-1.9.3 only) #133

Closed
AliSoftware opened this issue May 17, 2014 · 5 comments
Labels

Comments

@AliSoftware
Copy link
Contributor

https://travis-ci.org/CocoaPods/Core/jobs/25378122

I tried to add export LANG=en_US.UTF-8 in before_install to fix it, with no luck.

I believe this has already happen and fixed in other CP repositories, so we should just have to find where it is and apply it here.


See also CocoaPods/VersionKit#4 & CocoaPods/cocoapods-downloader#24

@AliSoftware AliSoftware changed the title [Travis] ArgumentError: invalid byte sequence in US-ASCII [Travis] ArgumentError: invalid byte sequence in US-ASCII (ruby-1.8.9 only) May 17, 2014
@AliSoftware AliSoftware changed the title [Travis] ArgumentError: invalid byte sequence in US-ASCII (ruby-1.8.9 only) [Travis] ArgumentError: invalid byte sequence in US-ASCII (ruby-1.9.3 only) May 17, 2014
@kylef kylef closed this as completed in 0202035 May 17, 2014
@kylef
Copy link
Contributor

kylef commented May 17, 2014

That is because before_install is a separate flow and environmental variables may be torn down afterwards.

But damn, my fix didn't work. But the environmental variable is fixed. CocoaPods/guides.cocoapods.org#26 mentions a different variable. @alloy / @irrationalfab do you know what it should be?

@kylef kylef reopened this May 17, 2014
kylef added a commit that referenced this issue May 17, 2014
@AliSoftware
Copy link
Contributor Author

Gotcha for before_install. I tried with before_script instead afterwards with no luck either. env was a better try (good idea) but if it doesn't help either, I'm out of ideas 😒

@alloy
Copy link
Member

alloy commented May 17, 2014

This is tiresome for no good reason, my pragmatic solution, let’s get rid of 1.9.3 from the test list. It’s not a current version, nor did it ever ship with OS X.

@AliSoftware
Copy link
Contributor Author

@alloy I believe that's what happened with Cocoapods/CocoaPods (as 1.9.3 is not in its .travis.yml), somebody probably got bored trying to solve that too some time ago ^^

I vote for removal of 1.9.3, let's not waste time on this for no good reason.

@fabiopelosin
Copy link
Member

👍

Ashton-W pushed a commit to Ashton-W/Core that referenced this issue Nov 2, 2015
Ashton-W pushed a commit to Ashton-W/Core that referenced this issue Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants