allow for running with rails server

allow for running with rails server, makes development on mac possible without having to install full apache stack with ruby.
I tried running rails server using Ruby 2.0.  I got the same errors you did.  For me, it was sufficient to use line 7; line 6 didn't seem necessary.  But I pulled them both.