Skip to content
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

Open
drolfe opened this issue Aug 7, 2015 · 5 comments
Open

gem_dir missing #46

drolfe opened this issue Aug 7, 2015 · 5 comments

Comments

@drolfe
Copy link

drolfe commented Aug 7, 2015

[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 methodgem_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:ineach'
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:ingem_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:ingem_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:inrequire'
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:inpolyglot_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:inload'
from /usr/bin/lvmsync:19
[root@enc1-blade02 ~]#

Seems https://rubygems.org/gems/gem_dir/ is missing as a dependency

Regards, Daniel

@mpalmer
Copy link
Owner

mpalmer commented Aug 7, 2015

Phooey. This is actually a bug in git-version-bump, rather than lvmsync itself; I'll leave this issue open, though, until I bump lvmsync's dependencies to avoid the buggy versions of git-version-bump.

@drolfe
Copy link
Author

drolfe commented Aug 29, 2015

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

@john5223
Copy link

Any fix for this?

-John

@m4oc
Copy link

m4oc commented Aug 9, 2016

I solved this problem using rvm and ruby 1.9.3

@ajones6
Copy link

ajones6 commented Aug 31, 2017

m4oc, can you elaborate on how you fixed the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants