On Thu, Nov 04, 2010 at 01:09:46PM -0700, Eric wrote:
>
> I am not sure if this will impact you guys but I received an error
> when trying to deploy ruote-kit to our staging environment. Bundler
> installed Sinatra 1.1.0, reverting to 1.0 resolved the issue.
> 
> We are running passenger under Apache. Rails using 2.3.8. Our workers
> run under a separate process.
> 
> I received the following :
> 
> NoMethodError - undefined method `sub!' for nil:NilClass:
>  /usr/local/ruby19/lib/ruby/gems/1.9.1/gems/sinatra-respond_to-0.5.0/
> lib/sinatra/respond_to.rb:173:in `format'

Hello Eric,

many thanks for the report.

  https://github.com/cehoffman/sinatra-respond_to/issues/issue/3/#comment_518842

We had to stall Sinatra to 1.0 as well

  
https://github.com/tosch/ruote-kit/commit/915611fd3249836292e9969fe9a8e76a1271f24d

  
https://github.com/tosch/ruote-on-rails/commit/0960bc1e8193afa48b2c97df5e7f39ec1defe054
  
https://github.com/tosch/ruote-on-rails/commit/3fbd8412cdf43542017a822ad2a74454ba514bdd

For now, if you need the latest sinatra

  gem 'sinatra', '1.1.0'
  gem 'sinatra-respond_to', :git => 
'http://github.com/cehoffman/sinatra-respond_to.git', :tag => '0.6.0'

should do it.


Thanks again,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to