changed fail to error for thor and fixed rugular.rb file