'bind' default value documentation #691

Merged
merged 2 commits into from Mar 20, 2013

2 participants

@jbottigliero

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

jbottigliero added some commits Mar 20, 2013
@jbottigliero jbottigliero Update README 'bind' Configuration Entry
Update `bind` configuration entry to better reflect default value(s).
277b685
@jbottigliero jbottigliero Bad formatting... c3b891f
@rkh rkh merged commit 0ebea52 into sinatra:master Mar 20, 2013

1 check failed

Details default The Travis build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment