Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'bind' default value documentation #691

Merged
merged 2 commits into from
Mar 20, 2013
Merged

'bind' default value documentation #691

merged 2 commits into from
Mar 20, 2013

Conversation

jbottigliero
Copy link

I'm not sure if there is a way to directly contribute to the documentation, but hopefully this gets where it needs to go.

During my first use of sinatra today I had an issue of getting up and running just as easily as the documentation seems to imply. After a little digging it was because my environment was being default-ed to development. This may be common or expected knowledge in the ruby community, but being less experienced in the language caused a small pitfall.

Thanks for your time, and sorry if I'm way off base on my request!

Relevent code:
https://github.com/sinatra/sinatra/blob/master/lib/sinatra/base.rb#L1734
https://github.com/sinatra/sinatra/blob/master/lib/sinatra/base.rb#L1765

Joe Bottigliero added 2 commits March 20, 2013 14:31
Update `bind` configuration entry to better reflect default value(s).
rkh added a commit that referenced this pull request Mar 20, 2013
'bind' default value documentation
@rkh rkh merged commit 0ebea52 into sinatra:master Mar 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants