mydrive / capistrano-deploytags

Add timestamped Git tags for each environment on deployment
BSD 2-Clause "Simplified" License
123 stars 20 forks source link

LoadError ... deploy_tags.rb.orig #18

Closed brianstien closed 10 years ago

brianstien commented 10 years ago

I am getting this error when trying to to a simple tagged deploy with version 0.9

LoadError: no such file to load -- /home/brian/.rvm/gems/jruby-1.7.6@ballista/gems/capistrano-deploytags-0.9.0/lib/capistrano/deploy_tags.rb.orig

It seems the recent changes in 0.9 are causing a capistrano-deploytags to attempt to require a .orig file that is not present (Im guessing we don't want to require a .orig file in the first place).

If you need more info let me know, I would be happy to help.

relistan commented 10 years ago

Many apologies, it looks like this is a weakness in the way I was building the gem. It sweeps up everything in lib/*/** into the gem. This included an .orig file that should not have been caught in the glob. I'll look at revising this to use a git file list instead of a Dir[] glob. I have released the fixed version as 0.9.1.

Thanks for opening this, and with good detail!