diff options
author | Terence Lee <hone02@gmail.com> | 2012-04-22 12:26:55 -0500 |
---|---|---|
committer | Terence Lee <hone02@gmail.com> | 2012-05-03 16:26:05 -0700 |
commit | 018a3c33c55bb139ffeeb6cdb7ec3d9959e728be (patch) | |
tree | 25b398e4198610bbfb72537fc2585626b94ed50d /lib | |
parent | ce22fed8098d61ba9ae0679f3d7894b0eb24c478 (diff) | |
download | bundler-018a3c33c55bb139ffeeb6cdb7ec3d9959e728be.tar.gz |
ruby version check for bundle#console and Bundler.setup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 2d1a7c7e40..8c325dac93 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -107,6 +107,8 @@ module Bundler # Just return if all groups are already loaded return @setup if defined?(@setup) + definition.validate_ruby! + if groups.empty? # Load all groups, but only once @setup = load.setup |