Fixed rails server problems