http://rails.lighthouseapp.com/projects/8994-ruby-... This way we can specify which gems will be loaded in each environment. This is useful since we don't want ZenTest or ruby-debug running in production. Usage: config.gem "ZenTest", :environment => :test config.gem "ruby-debug", :environment => [:development, :test]
on 2008-05-16 19:23
on 2008-05-18 12:39
> This way we can specify which gems will be loaded in each environment. > This is useful since we don't want ZenTest or ruby-debug running in > production. > > Usage: > > config.gem "ZenTest", :environment => :test > config.gem "ruby-debug", :environment => [:development, :test] You can just do this in config/environments/test.rb: config.gem "ZenTest" Then it's only loaded in the test environment.