fixed issues with gem and rails s