Skip to content

Instantly share code, notes, and snippets.

@rsutphin
Created March 8, 2010 19:54
Show Gist options
  • Save rsutphin/325513 to your computer and use it in GitHub Desktop.
Save rsutphin/325513 to your computer and use it in GitHub Desktop.

Installed gems

$ gem list nokogiri

*** LOCAL GEMS ***

nokogiri (1.4.0, 1.3.3)

Gemfile

$ cat Gemfile
gem 'nokogiri', '1.4.0'

Install w/o pack

$ bundle install
Installing nokogiri (1.4.0) from system gems 
Your bundle is complete!

Install w/ pack

$ bundle pack
The bundle is now locked. Use `bundle show` to list the gems in the environment.
Copying .gem files into vendor/cache
  * nokogiri-1.4.0.gem
$ bundle install
Installing nokogiri (1.4.0) from .gem files at /private/tmp/bug-124/vendor/cache with native extensions 
Your bundle is complete!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment