Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
create sinatra gem fails on rack-protection #1110
First, sinatra is our favorite and hope for Sinatra 2.0 - we gave up on sinatra 1.4.7 due to problems with rack-protection - froze button links to forms
cloned sinatra/sinatra master
On 04/22/2016 03:10 AM, Zachary Scott wrote:
sorry, but how is a backtrace run ?
re: rack-protection - on development machine had no problem, but when
@tigernassau Can you give me step-by-step to reproduce the exception?
I think this is what you're trying based on your report, and I'm not able to reproduce any errors this way. So please explain if I'm doing something wrong.
Re: rack-protection, I need a little more information such as:
This will help build a picture of how you're using rack-protection and where the issue might be.
I just ran into this same problem. I already have rails 5 with Sinatra 1.4.4 successfully running. However, if I run "bundle outdated" or "bundle update" I get the following error:
Could not find gem 'rack-protection (~> 2.0)', which is required by gem 'sinatra', in any of the sources.
bundle works with "gem 'sinatra', github: 'sinatra'". However, the same error as above occurs if I change it to "gem 'sinatra', '~> 1.4', '>= 1.4.7'".