It’s just data

Rack broke Sinatra

Not rack’s fault, but Sinatra hasn’t released in a while.  Problem has been known since July, and a fix was merged into master in August.  One possible workaround has been posted.  An alternate workaround:

module Rack
  class ShowExceptions
    alias_method :old_pretty, :pretty
    def pretty(*args)
      result = old_pretty(*args)
      def result.join; self; end
      def result.each(&block); block.call(self); end
      result
    end
  end
end

This gem gives a pack of accommodating augmentations for normal examples that can be connected to your Sinatra application. Investigate the documentation for a rundown of what you get.

Posted by top-quality dissertation help at

Good article. pls keep sharing such good articles.Safety vest

Posted by Reflective vest at

Add your comment