Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Implicit requirement on Sinatra #2

Closed
volpe opened this Issue Apr 14, 2011 · 2 comments

Comments

Projects
None yet
2 participants

volpe commented Apr 14, 2011

Added sham_rack to my gemfile, and then tried: ShamRack.at(url).sinatra do ... end

Failed because I don't have sinatra... Should it be part of sham_racks dependencies in gem files?

Owner

mdub commented Apr 14, 2011

I see Sinatra as an optional dependency, as most of ShamRack works quite happily without it. I chose not to add it as an explicitly dependency, so as not to force Sinatra down the throat of users who don't need it.

So ... just add "gem 'sinatra'" to your Gemfile, along with "sham_rack".

@mdub mdub closed this Apr 14, 2011

volpe commented Apr 14, 2011

I figured that was your reasoning. Just checking :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment