From: Guilherme Mello Date: 2010-11-10T00:02:26+09:00 Subject: YAML dependency Hi, I'm creating a Gem and the code uses data from a YAML file: CONFIG = YAML.load_file("config/file.yml")["development"] This code is fixed in the class and located at Rails.root/config. The Gem looks to that path and loads the YAML. The question is: How allow the user to set what environment will be used outside of Gem ? -- Posted via http://www.ruby-forum.com/.