jcrosby/cloudkit — Issue #3: CloudKit crash if rack >= 1.4 is installed
Author: prathe
Created: 2012-02-19 05:12:24+00:00
State: open

I wanted to try the [curl demo](http://getcloudkit.com/curl.html)

and the following command crashed

$ rackup config.ru

/Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudkit-0.11.2/lib/cloudkit/rack/builder.rb:43:in `expose': undefined method `<<' for nil:NilClass (NoMethodError)
from /Users/prathe/src/demo/cloudkit/config.ru:3:in `block in

'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /Users/prathe/src/demo/cloudkit/config.ru:1:in `new'
from /Users/prathe/src/demo/cloudkit/config.ru:1:in `

'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:137:in `start'
from /Users/prathe/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/bin/rackup:4:in `'
from /Users/prathe/.rbenv/versions/1.9.2-p290/bin/rackup:19:in `load'
from /Users/prathe/.rbenv/versions/1.9.2-p290/bin/rackup:19:in `

'

I had rack 1.4.1 installed and after

$ gem uninstall -v '>=1.4' rack

I had no problems