Skip to content

Instantly share code, notes, and snippets.

@rsutphin
Created March 4, 2010 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsutphin/322055 to your computer and use it in GitHub Desktop.
Save rsutphin/322055 to your computer and use it in GitHub Desktop.
gem "rails", "2.3.5"

Installed gems

$ gem list bundler

*** LOCAL GEMS ***

bundler (0.9.9)
bundler08 (0.8.4)

$ gem list rails

*** LOCAL GEMS ***

rails (2.3.5)

Gemfile

(Compatible with bundler08 0.8.4 and bundler 0.9.9)

gem "rails", "2.3.5"

bundler 0.9.9

$ bundle _0.9.9_ install
Resolving dependencies
Installing actionmailer (2.3.5) from system gems 
Installing actionpack (2.3.5) from system gems 
Installing activerecord (2.3.5) from system gems 
Installing activeresource (2.3.5) from system gems 
Installing activesupport (2.3.5) from system gems 
Installing rack (1.0.1) from system gems 
Installing rails (2.3.5) from system gems 
Installing rake (0.8.7) from system gems 
Your bundle is complete!

$ time bundle _0.9.9_ exec rails -q bundler-09-app

real	0m3.193s
user	0m2.641s
sys	0m0.496s

$ rm -rf .bundle/ bundler-09-app/

bundler08 0.8.4

$ gem bundle
Calculating dependencies...
Updating source: http://gems.rubyforge.org
/Library/Ruby/Gems/1.8/gems/bundler08-0.8.4/lib/bundler08/resolver.rb:115:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement
Caching: actionmailer-2.3.5.gem
Caching: actionpack-2.3.5.gem
Caching: activerecord-2.3.5.gem
Caching: activeresource-2.3.5.gem
Caching: activesupport-2.3.5.gem
Caching: rack-1.0.1.gem
Caching: rails-2.3.5.gem
Caching: rake-0.8.7.gem
Installing activesupport (2.3.5)
Installing rack (1.0.1)
Installing actionpack (2.3.5)
Installing actionmailer (2.3.5)
Installing activeresource (2.3.5)
Installing rake (0.8.7)
Installing activerecord (2.3.5)
Installing rails (2.3.5)
Done.

$ time bin/rails -q bundler-08-app

real	0m0.951s
user	0m0.658s
sys	0m0.275s

$ rm -rf bin bundler-08-app/ vendor/

System-installed

$ time rails -q system-app

real	0m0.915s
user	0m0.640s
sys	0m0.256s

$ rm -rf system-app

With 93a4e5d90ce091308ebff942e6cb031f72944c04

With my patch for rubygems/bundler#177 applied.

$ bundle _0.9.11.pre_ install
/Library/Ruby/Gems/1.8/gems/bundler-0.9.11.pre/lib/bundler/cli.rb:153: warning: parenthesize argument(s) for future version
Resolving dependencies
Installing actionmailer (2.3.5) from system gems 
Installing actionpack (2.3.5) from system gems 
Installing activerecord (2.3.5) from system gems 
Installing activeresource (2.3.5) from system gems 
Installing activesupport (2.3.5) from system gems 
Installing rack (1.0.1) from system gems 
Installing rails (2.3.5) from system gems 
Installing rake (0.8.7) from system gems 
Your bundle is complete!

$ time bundle _0.9.11.pre_ exec rails -q bundler-09-app
/Library/Ruby/Gems/1.8/gems/bundler-0.9.11.pre/lib/bundler/cli.rb:153: warning: parenthesize argument(s) for future version

real	0m3.221s
user	0m2.634s
sys	0m0.484s

$ bundle _0.9.11.pre_ lock
/Library/Ruby/Gems/1.8/gems/bundler-0.9.11.pre/lib/bundler/cli.rb:153: warning: parenthesize argument(s) for future version
The bundle is now locked. Use `bundle show` to list the gems in the environment.

$ time bundle _0.9.11.pre_ exec rails -q bundler-09-app
/Library/Ruby/Gems/1.8/gems/bundler-0.9.11.pre/lib/bundler/cli.rb:153: warning: parenthesize argument(s) for future version

real	0m1.050s
user	0m0.837s
sys	0m0.192s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment