Fix dependency railties