Comments (3)
Hi Marcel.
Yeah, I'm aware there are some issues around Sinatra vs Rack v2. But, how do you imagine sham_rack resolving the conflict? That is, what kind of constraint do you propose adding to the gemspec?
It kind of feels like this shouldn't be ShamRack's problem. I'm reluctant to be specific about rack
version - I'd rather make it compatible with as many versions of Rack as possible.
from sham_rack.
I was thinking about it now, since ShamRack is not declaring any other dependency other than "rack" and it does not specify the version I am inclined to agree. But I would like to keep the issue open or create a warning at the README so others can easily find a solution to that problem, at least while sinatra is beta. WDYT?
from sham_rack.
I'm happy to discuss solutions in this thread. I'm going to mark it closed, though - I don't think it makes it any less findable.
ShamRack's gemspec makes no mention of Sinatra, so that's not the source of the conflict. Is something else pulling sinatra into your project?
I think the real "fix" is waiting for the release of Sinatra 2.0.0, bringing compatibility with Rack 2.0, and Rails 5. It looks like the Sinatra folks are getting close to a 2.0.0 release.
In the meantime, I reckon
gem "sinatra", ">= 2.0.0.beta"
is a fine workaround.
from sham_rack.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sham_rack.