bazaarvoice / cloudformation-ruby-dsl

Ruby DSL for creating Cloudformation templates
Apache License 2.0
210 stars 76 forks source link

Add 'bundler' as a Gem dependency #36

Closed amosshapira closed 9 years ago

amosshapira commented 9 years ago

Without this, the generated ruby file fails with:

$ ./ssl_autoscale-STAN-1574.rb
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./ssl_autoscale-STAN-1574.rb:3:in `<main>'

After I installed the "bundler" gem manually the error was gone and I got the expected Usage message.