Skip to content

Instantly share code, notes, and snippets.

@adelcambre
Created February 9, 2010 00:57
Show Gist options
  • Select an option

  • Save adelcambre/298793 to your computer and use it in GitHub Desktop.

Select an option

Save adelcambre/298793 to your computer and use it in GitHub Desktop.
gem 'rake'
group :never do
gem 'json'
end
source 'http://gemcutter.org'
$ bundle install
Fetching source index from http://gemcutter.org
Resolving dependencies
Installing json (1.2.0) from system gems
Installing rake (0.8.7) from system gems
Your bundle is complete!
bundle install 11.14s user 0.20s system 84% cpu 13.477 total
$ bundle exec rake
(in /Users/adelcambre/p/playpen/bundle_fails/require)
[]
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
$ bundle lock
The bundle is now locked. Use `bundle show` to list the gems in the environment.
$ bundle exec rake
(in /Users/adelcambre/p/playpen/bundle_fails/require)
["json/version.rb",
"json/common.rb",
"json/ext/parser.bundle",
"json/ext/generator.bundle",
"json/ext.rb",
"json.rb"]
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
Bundler.require :default
require 'pp'
pp $LOADED_FEATURES.grep(/json/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment