Red Hat Bugzilla – Bug 858135
vim-command-t should require ruby
Last modified: 2013-04-20 16:12:15 EDT
Description of problem: Looking at https://bugzilla.redhat.com/show_bug.cgi?id=752785 it seems that vim-enhanced now ships without a ruby dependency, and vim-command-t doesn't have it either, which means that if you have vim and install vim-command-t *without* having ruby installed, opening VI will result in a nasty SEGFAULT, hardly ideal.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. on a fresh system (or otherwise remove ruby)
2. yum install vim-command-t
3. open vim
VIM editor window
Well, you are right, but just partially. The truth is that vim segfaults when ruby package is not installed, but the problem is elsewhere IMO. If you have installed vim, you could see by issuing "vim --version" from command line or ":ruby 1" in vim, that Ruby support is still enabled, i.e. the  was not applied yet. However, if you run just the ":ruby 1" command earlier, vim segfaults, due to missing RubyGems package and it was reported here . As you can see from , I was trying to fix it by requiring ruby package by ruby-libs, but that was wrong approach.
I may consider to apply workaround, i.e. to require ruby or rubygems package by vim-command-t, but I don't like the idea. If that is not blocker for you, I would like to wait a bit if it is a real pain for other users as well.
Take your time to do it the right way. Not a show-stopper for me at all, but found it appropriate to file a bug to have it documented somewhere :)
Thank you. I already trying to push bug 752785 forward.
*** Bug 860034 has been marked as a duplicate of this bug. ***
This was a problem for me. I made a post on the Fedora list, and Ed Greshko figured out the solution and pointed me to this bug. I would say this may be a problem that others will have if they try to install vim on the basis of "yum install vim*" like I did. The new software installer of F18 is not as friendly as the older versions when you try to add a few of the special things that one desires. I was not sure how to install vim, and could not figure out a way to install it from the gui software installer.
*** Bug 950447 has been marked as a duplicate of this bug. ***
vim-command-t-1.4-4.fc19 has been submitted as an update for Fedora 19.
vim-command-t-1.4-4.fc18 has been submitted as an update for Fedora 18.
vim-command-t-1.4-4.fc17 has been submitted as an update for Fedora 17.
For now, there is no better way, then to add dependency on RubyGems into vim-command-t. So I did that. Hopefully, one day, RPM/YUM will be capable enough to fix this and it could be moved into better place, i.e. into VIM (bug #848058).
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing vim-command-t-1.4-4.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
vim-command-t-1.4-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
vim-command-t-1.4-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
vim-command-t-1.4-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.