Closed localguru closed 9 years ago
You got 1.0.1 from gem install
because the release process failed before it uploaded the updated gem to rubygems.org
, and gem
doesn't install from the tarball. I've uploaded the 1.0.2 gem now, so if you update your gem to that (gem install lvmsync
should do it; if not, add -v 1.0.2
to the gem
command) everything should work much better.
Hi,
on Ubuntu 12.04 LTS is still get an error, which was former published here https://github.com/mpalmer/lvmsync/issues/13
wget https://github.com/mpalmer/lvmsync/archive/v1.0.2.zip
root@test01:/home/testuser/test# unzip v1.0.2.zip
root@test01:/home/testuser/test# cd lvmsync-1.0.2/
root@test01:/home/testuser/test/lvmsync-1.0.2# ls -al insgesamt 100 drwxr-xr-x 7 root root 4096 Jul 4 12:14 . drwxr-xr-x 3 root root 4096 Aug 25 14:15 .. drwxr-xr-x 2 root root 4096 Jul 4 12:14 bin -rw-r--r-- 1 root root 40 Jul 4 12:14 Gemfile -rw-r--r-- 1 root root 18 Jul 4 12:14 .gitignore -rw-r--r-- 1 root root 313 Jul 4 12:14 Guardfile drwxr-xr-x 3 root root 4096 Jul 4 12:14 lib -rw-r--r-- 1 root root 35147 Jul 4 12:14 LICENCE -rw-r--r-- 1 root root 1108 Jul 4 12:14 lvmsync.gemspec drwxr-xr-x 2 root root 4096 Jul 4 12:14 manifests -rw-r--r-- 1 root root 684 Jul 4 12:14 Rakefile -rw-r--r-- 1 root root 14655 Jul 4 12:14 README.md drwxr-xr-x 3 root root 4096 Jul 4 12:14 spec drwxr-xr-x 2 root root 4096 Jul 4 12:14 test
root@test01:/home/testuser/test/lvmsync-1.0.2# gem install lvmsync Fetching: git-version-bump-0.9.1.gem (100%) Fetching: polyglot-0.3.5.gem (100%) Fetching: treetop-1.5.3.gem (100%) Fetching: lvmsync-1.0.1.gem (100%) Successfully installed git-version-bump-0.9.1 Successfully installed polyglot-0.3.5 Successfully installed treetop-1.5.3 Successfully installed lvmsync-1.0.1 4 gems installed Installing ri documentation for git-version-bump-0.9.1... Installing ri documentation for polyglot-0.3.5... Installing ri documentation for treetop-1.5.3... Installing ri documentation for lvmsync-1.0.1... Installing RDoc documentation for git-version-bump-0.9.1... Installing RDoc documentation for polyglot-0.3.5... Installing RDoc documentation for treetop-1.5.3... Installing RDoc documentation for lvmsync-1.0.1..
BTW: why lvmsync-1.0.1 ? I've downloaded v1.0.2 .... hmmm ?
root@test01:/home/testuser/test/lvmsync-1.0.2# lvmsync /dev/test01-vg/snapback /dev/test01-vg/dest /var/lib/gems/1.8/gems/lvmsync-1.0.1/lib/lvm/vgconfig.rb:22:in `initialize': Cannot parse vgcfgbackup output: Expected one of [a-z0-9], = , [\s] at line 11, column 7 (byte 391) after test01 (RuntimeError) from /var/lib/gems/1.8/gems/lvmsync-1.0.1/bin/lvmsync:154:in
new' from /var/lib/gems/1.8/gems/lvmsync-1.0.1/bin/lvmsync:154:in
run_client' from /var/lib/gems/1.8/gems/lvmsync-1.0.1/bin/lvmsync:93:inmain' from /var/lib/gems/1.8/gems/lvmsync-1.0.1/bin/lvmsync:256 from /usr/local/bin/lvmsync:19:in
load' from /usr/local/bin/lvmsync:19Is it really version 1.0.2 you've published?
Cheers Marcus