Skip to content

Instantly share code, notes, and snippets.

@ono
Created June 10, 2010 20:46
Show Gist options
  • Save ono/433610 to your computer and use it in GitHub Desktop.
Save ono/433610 to your computer and use it in GitHub Desktop.
get lib directory from bundler. (you can add this logic into rspec.rake)
# Bundler support
rspec_gem_dir = Bundler::SPECS.select{|s| s.name == 'rspec'}[0].require_paths[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment