mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
383 stars 61 forks source link

--version dont work when i installing lvmsync from gem #35

Closed WMP closed 10 years ago

WMP commented 10 years ago

``/usr/local/rvm/gems/ruby-1.8.7-head/gems/lvmsync-3.1.0/bin/lvmsync:59:inmain': uninitialized constant GitVersionBump::VersionUnobtainable (NameError) from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1267:in call' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1267:inparse_in_order' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1254:in catch' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1254:inparse_in_order' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1248:in order!' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1339:inpermute!' from /usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/optparse.rb:1360:in parse!' from /usr/local/rvm/gems/ruby-1.8.7-head/gems/lvmsync-3.1.0/bin/lvmsync:31:inmain' from /usr/local/rvm/gems/ruby-1.8.7-head/gems/lvmsync-3.1.0/bin/lvmsync:270 from /usr/local/rvm/gems/ruby-1.8.7-head/bin/lvmsync:23:in `load' from /usr/local/rvm/gems/ruby-1.8.7-head/bin/lvmsync:23 from /usr/local/rvm/gems/ruby-1.8.7-head/bin/ruby_executable_hooks:15

mpalmer commented 10 years ago

Yeah, looks like I didn't make sure that git-version-bump is new enough to actually provide that exception class. I'll be releasing a new lvmsync today that contains a fix for this.

mpalmer commented 10 years ago

The freshly-released 3.1.1 version of lvmsync should solve this problem.