I'm trying to edit one of the gem's config files and I can't find it.. not sure how i did this in the past.
+2
A:
Look at your gem environment.
gem env
(from console that is)
You should see an entry INSTALLATION DIRECTORY
, but there is also GEM PATHS
which is where it's loading all your gems from in your current environment.
theIV
2010-08-04 19:03:55
A:
If you are editing the gem's installed files, then the gem wasn't implemented correctly, or you are not modifying it correctly.
Proper gems are usually configured:
- via an initializer script on
config/initializers
- via monkeypatching on
lib
- via generators provided by the gem itself. These tend to generate lots of files, but they usually have a "initialize" or "install" option for setting up the gem.
egarcia
2010-08-04 23:55:58