fixed bug: missing return foreman init file + taking rails relative in account