added path object
fixed bug in docker rails server