make rails_config work without rails