-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gem_dir missing #46
Comments
Phooey. This is actually a bug in |
Hi Is there any work around for this issue ? I need to use lvmsync again and would love it just to work for now ? Regards, Daniel |
Any fix for this? -John |
I solved this problem using rvm and ruby 1.9.3 |
m4oc, can you elaborate on how you fixed the problem? |
[root@enc1-blade02 ~]# ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[root@enc1-blade02 ~]# gem -v
1.3.7
[root@enc1-blade02 ~]# which vgcfgbackup
/sbin/vgcfgbackup
[root@enc1-blade02 ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)
[root@enc1-blade02 ~]#
The error received:
[root@enc1-blade02 ~]# lvmsync /dev/4tb_raid_vg/kvm102-snap 192.168.10.207:/dev/vm_vg/kvm102_img
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:538:in
method_missing': undefined method
gem_dir' for #Gem::Specification:0x7f451d7aae40 (NoMethodError)from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:265:in
caller_gemspec' from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:263:in
each'from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:263:in
caller_gemspec' from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:289:in
gem_version'from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:37:in
version' from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump/version.rb:2 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
polyglot_original_require' from /usr/lib/ruby/gems/1.8/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require'from /usr/lib/ruby/gems/1.8/gems/git-version-bump-0.15.1/lib/git-version-bump.rb:308
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
polyglot_original_require'from /usr/lib/ruby/gems/1.8/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require' from /usr/lib/ruby/gems/1.8/gems/lvmsync-3.3.2/bin/lvmsync:22 from /usr/bin/lvmsync:19:in
load'from /usr/bin/lvmsync:19
[root@enc1-blade02 ~]#
Seems https://rubygems.org/gems/gem_dir/ is missing as a dependency
Regards, Daniel
The text was updated successfully, but these errors were encountered: