install error with 1.3.2 and jruby 1.7.3 #97

Closed
jillesvangurp opened this Issue Apr 1, 2013 · 3 comments

Projects

None yet

3 participants

@jillesvangurp

I recently tried to update the gems I have had on my system for a few weeks and suddenly got this error:

Psych::SyntaxError: (): 'reader' unacceptable character '�' (0x82) special characters are not allowed
in "'reader'", position 278 at line 0 column 0
An error occurred while installing sinatra-contrib (1.3.2), and Bundler cannot
continue.
Make sure that gem install sinatra-contrib -v '1.3.2' succeeds before
bundling.

Rolling back to 1.3.1 seems to work for now.

This may be related to
rkh/sinatra-advanced-routes#8

@zzak
Member
zzak commented Aug 11, 2013

@jillesvangurp Hello! Have you had any luck installing the new version of sinatra-contrib on jruby?

@jillesvangurp

@zzak 1.4.0 installs fine; I'll close the issue.

@mgwidmann

This issue still exists if you try it on jruby-1.7.2. Version 1.4.0 does install fine, but 1.4.1, 1.4.2 both have this same issue again. Newer versions of jruby don't seem to have this problem. See here:

$ rvm use jruby-1.7.2
$ gem install sinatra-contrib -v 1.4.0
Successfully installed sinatra-contrib-1.4.0
1 gem installed
$ gem install sinatra-contrib -v 1.4.1
Fetching: sinatra-contrib-1.4.1.gem (100%)
ERROR:  Error installing sinatra-contrib:
    invalid gem: package is corrupt, exception while verifying: (<unknown>): 'reader' unacceptable character '' (0x87) special characters are not allowed
in "'reader'", position 293 at line 0 column 0 (Psych::SyntaxError) in /Users/matt/.rvm/gems/jruby-1.7.2/cache/sinatra-contrib-1.4.1.gem
$ gem install sinatra-contrib -v 1.4.2
ERROR:  Error installing sinatra-contrib:
    invalid gem: package is corrupt, exception while verifying: (<unknown>): 'reader' unacceptable character '' (0x87) special characters are not allowed
in "'reader'", position 257 at line 0 column 0 (Psych::SyntaxError) in /Users/matt/.rvm/gems/jruby-1.7.2/cache/sinatra-contrib-1.4.2.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment