sinatra / rack-protection

NOTE: This project has been merged upstream to sinatra/sinatra
https://github.com/sinatra/sinatra/tree/master/rack-protection
818 stars 58 forks source link

Sinatra problem with rack-protection #110

Closed pamit closed 8 years ago

pamit commented 8 years ago

Hi!

I encountered this today after bundle update:

sinatra was resolved to 2.0.0.pre.alpha, which depends on rack-protection (~> 2.0)

You've specified the alpha version (s.version = "2.0.0"), yet no version 2.0.0 was released.

Thanks in advance.

For those who faced this, I had to fetch this commit: gem 'sinatra', github: 'sinatra', :ref => 'a5da6fa'

zzak commented 8 years ago

Sorry for the trouble, you need to use rack-protection from HEAD until the release is made for now:

gem 'rack-protection', github: 'sinatra/rack-protection'