Seems like Rack 1.2.2 (and 1.2.1) no longer supports 1.8.6. It's fixed in Git, but I'm not sure when a new version will be released: https://github.com/rack/rack/pull/145
You can downgrade to 1.2.0 for now. // Magnus Holm On Wed, May 18, 2011 at 12:44, Dave Everitt <dever...@innotts.co.uk> wrote: > Just did a quick gem update, including Camping 2.1, and ran 'Hello Clock' > (http://camping.rubyforge.org/book/02_getting_started.html) as a quick test: > > deveritt$ camping nuts.rb > /usr/local/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in > `union': can't convert Array into String (TypeError) > from > /usr/local/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138 > from > /usr/local/lib/ruby/gems/1.8/gems/camping-2.1/bin/../lib/camping.rb:3 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > from /usr/local/lib/ruby/gems/1.8/gems/camping-2.1/bin/camping:5 > from /usr/local/bin/camping:19:in `load' > from /usr/local/bin/camping:19 > > Any ideas? Worked fine with 2.0.392 - > > Camping.goes :Nuts > > module Nuts::Controllers > class Index < R '/' > def get > @time = Time.now > render :sundial > end > end > end > > module Nuts::Views > def layout > html do > head do > title { "Nuts And GORP" } > end > body { self << yield } > end > end > > def sundial > p "The current time is: #{@time}" > end > end > > > Dave > > _______________________________________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > _______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list