Config works only in Rails