updated init.js to allow for rails app to be in sub directory
Merge pull request #206 from edwinwills/master

Updated init.js to allow for sub directory Rails apps