Update rails

Fixed loaderror