From: Jeremy Henty Date: 2010-08-20T22:25:12+09:00 Subject: Re: 1.9.2-rc2 -> 1.9.2-p0 breaks Sinatra On 2010-08-20, Abhijit Hoskeri wrote: > Sinatra's behaviour has appeared to change in the 1.9 compatible > versions. > > I need to add the following line in my server.rb: > > set :run, true > > Also the template directory is no longer implicitly 'views', you need to > set it yourself. > > set :views, File.dirname(__FILE__) + "/views" Thanks! That was it! But why should Sinatra change its behaviour between 1.9.2-rc2 -> 1.9.2-p0? Any ideas? I would have said that the *definition* of *-rc* is "behaviour won't change when you upgrade to *-p*". Something, somewhere is doing it wrong. Incidentally, the error message I get when I do not set the views directory is very strange; Sinatra says: Errno::ENOENT at /sinatra/index No such file or directory - [path to my Sinatra app directory]/