mrdialog icon indicating copy to clipboard operation
mrdialog copied to clipboard

error installing gem

Open jjptapia opened this issue 8 years ago • 4 comments

Hi, I have found errors installing gem (ruby 2.2.4):

# gem install mrdialog
Fetching: mrdialog-1.0.3.gem (100%)
Successfully installed mrdialog-1.0.3
Parsing documentation for mrdialog-1.0.3
Installing ri documentation for mrdialog-1.0.3
ERROR:  While executing gem ... (NoMethodError)
    undefined method `intern' for []:Array

Same error in ruby 2.1.8.

Same error with mrdialog-1.0.2

With mrdialog-1.0.1 seems to works fine:

# gem install --local ./mrdialog-1.0.1.gem 
Successfully installed mrdialog-1.0.1
Parsing documentation for mrdialog-1.0.1
Installing ri documentation for mrdialog-1.0.1
Done installing documentation for mrdialog after 0 seconds
1 gem installed

jjptapia avatar Jul 22 '16 07:07 jjptapia

If I install gem with "--no-ri" then works fine:

# gem install mrdialog --no-ri 
Successfully installed mrdialog-1.0.3
1 gem installed

jjptapia avatar Jul 22 '16 07:07 jjptapia

I'm not sure but I think it has something do with bundler. gem is installed fine but failing while trying to install doc. You can ignore the error. I will look at it when I get some time. Thanks.

muquit avatar Jul 22 '16 16:07 muquit

Try sudo gem install mrdialog

phenomen2277 avatar Jul 22 '16 21:07 phenomen2277

Hi phenomen227, I am installing as root. With rvm and latest 2.2.4, same result:

[root@centos-test ~]# rvm 2.2.4@global do gem install mrdialog  
Creating alias current for ruby-2.2.4@global....
Regenerating ruby-2.2.4 wrappers........
Successfully installed mrdialog-1.0.3
Parsing documentation for mrdialog-1.0.3
Installing ri documentation for mrdialog-1.0.3
ERROR:  While executing gem ... (NoMethodError)
    undefined method `intern' for []:Array

BTW, thanks muquit.

jjptapia avatar Jul 25 '16 06:07 jjptapia