Skip to content

Instantly share code, notes, and snippets.

@auxesis
Created February 7, 2011 21:54
Show Gist options
  • Select an option

  • Save auxesis/815319 to your computer and use it in GitHub Desktop.

Select an option

Save auxesis/815319 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
puts "Load paths before requires"
p Gem.path
p $:
puts
puts "Requiring cucumber"
require 'cucumber'
p Gem.path
p $:
puts
puts "Requiring cucumber/nagios"
require 'cucumber/nagios'
p Gem.path
p $:
puts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment