added a code to lib/bundler/dsl.rb and a test to spec/bundler/dsl_spec.rb