Require version file for checking capistrano version #2616
Conversation
bundler-1.4.0.pre.1 works fine, but bundler-1.4.0.pre.2 shows error below: ``` $ bundle exec cap production deploy /path/to/bundler-1.4.0.pre.2/lib/bundler/capistrano.rb:7:in `<top (required)>': uninitialized constant Capistrano::Version (NameError) ``` This commit brings this error, so I add require version file. 1d7a789 bundler: 1.4.0.pre.2 capistrano: 2.14.2
Sorry, my bad :( |
Do all versions of capistrano supply capistrano/version? Or do we need to rescue the potential LoadError? |
@indirect Future: Past: |
Sounds like we can simply check |
I agree |
oops, I don't know capistrano v3 and later |
It is not problem, so I simply check |
@indirect Would you merge this? |
I was waiting for the specs to be green, but I see it was a random failure. Thanks for the patch! |
Require version file for checking capistrano version
0ab0cd9
into
rubygems:master
Thanks! |
bundler-1.4.0.pre.1 works fine, but bundler-1.4.0.pre.2 shows error below:
This commit brings this error, so I add require version file.
1d7a789
bundler: 1.4.0.pre.2
capistrano: 2.14.2