sinatra/sinatra — Issue #387: sinatra 1.3.1 gemspec is broken on 1.9.2 for ubuntu
Author: elisehuard
Created: 2011-10-14 09:33:29+00:00
State: open

I suspect an encoding issue.
When the gemspec is downloaded by bundler, I get something fairly garbled, which the unmarshaller of Rubygems does not like.

/home/elise/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:135:in `load': incompatible marshal file format (can't be read) (TypeError)
format version 4.8 required; 135.37 given
from /home/elise/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:135:in `fetch_spec'
from /home/elise/.rvm/gems/ruby-1.9.2-p290@usave/gems/bundler-1.0.21/lib/bundler/remote_specification.rb:47:in `_remote_specification'
(...)

(maybe this could simply be solved by adding a utf-8 statements at the top, not sure)

When I change my gemfile to explicitly refer to 1.3.0 it works fine.