Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Tried to install 1.0.16: invalid byte sequence in US-ASCII #1341

Closed
grimen opened this issue Aug 8, 2011 · 15 comments
Closed

Tried to install 1.0.16: invalid byte sequence in US-ASCII #1341

grimen opened this issue Aug 8, 2011 · 15 comments
Assignees
Milestone

Comments

@grimen
Copy link

grimen commented Aug 8, 2011

$ gem install bundler
Fetching: bundler-1.0.16.gem (100%)
ERROR:  While executing gem ... (ArgumentError)
    invalid byte sequence in US-ASCII
@grimen
Copy link
Author

grimen commented Aug 8, 2011

I get this on both Ruby 1.9.2 and 1.9.3.preview

@indirect
Copy link
Member

indirect commented Aug 8, 2011

Yup, sorry about that. Yanked the gem to fix.

@indirect indirect closed this as completed Aug 8, 2011
@indirect indirect reopened this Aug 8, 2011
@indirect
Copy link
Member

indirect commented Aug 8, 2011

Hmm. After further investigation, we're unable to reproduce this using 1.9.2 or 1.9.3 across three different machines. Perhaps your LC_LANG environment variable is set incorrectly?

@grimen
Copy link
Author

grimen commented Aug 8, 2011

All I know is that this never happen to me in the past for this scenario and I've installed thousands of gems through the years. Just saying. :) Let's see if someone else gets this, I'll be fine on 1.0.15 for now.

P.S. I'm on OS X 10.6.7.

@hone
Copy link
Contributor

hone commented Aug 8, 2011

What rubygems version are you using and can you provide any LANG env vars from running "env"? Can you run gem list rdoc?

@indirect
Copy link
Member

indirect commented Aug 8, 2011

I totally understand -- I'm just trying to figure out how to reproduce the issue, since everyone I recruited to test immediately installed without any problems. I want to make sure that this isn't a widespread problem, so if you could include your LC_LANG setting and the other information mentioned in ISSUES, I would really appreciate it.

@grimen
Copy link
Author

grimen commented Aug 8, 2011

LC_LANG was not set, but didn't need to have it set in the past (~years) - so don't get why it should be required as of today. Now I tried again with LC_LANG=en_US.UTF-8 set and it still gives same error.

Here's the other relevant stuff:

$ ruby -v
ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin10.7.0]

... though same issue with Ruby 1.9.2 as mentioned.

$ gem -v
1.8.6

The other stuff proposed in ISSUES is not applicable, as I'm just installing the bundler gem via rubygems.

@kiote
Copy link

kiote commented Aug 8, 2011

I have the same issue, really confusing.
MacOS 10.7 with rvm with ruby 1.9.2

@ghost ghost assigned hone Aug 8, 2011
@hone
Copy link
Contributor

hone commented Aug 8, 2011

I was able to reproduce it using LANG,

$ LANG=ISO8859-1 gem install bundler
Fetching: bundler-1.0.16.gem (100%)
ERROR:  While executing gem ... (ArgumentError)
  invalid byte sequence in US-ASCII

the gems are yanked and we will release with a fix today.

@hone hone closed this as completed Aug 8, 2011
@hone
Copy link
Contributor

hone commented Aug 8, 2011

Can you guys try again with the new releases?

@grimen
Copy link
Author

grimen commented Aug 9, 2011

Excellent, works! \o/

@kiote
Copy link

kiote commented Aug 10, 2011

yeah, okay now

@andriytyurnikov
Copy link

1.0.18 bug is present

@apraditya
Copy link

1.0.21 bug is present. I'm using ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.8.0]

@indirect
Copy link
Member

indirect commented Nov 1, 2011

@apraditya, please see ISSUES and open a new ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants