Running with rails, fix for error