Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602270 - ruby upgrade procedure should be improved to rebuild dependencies
Summary: ruby upgrade procedure should be improved to rebuild dependencies
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
Depends on:
Reported: 2016-12-10 17:18 UTC by Alex Efros
Modified: 2016-12-15 06:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2016-12-10 17:18:51 UTC
Current ruby upgrade from 2.0 to 2.1 reveal at least one issue with dependencies: vim wasn't automatically rebuilt, and neither ruby ebuild nor news warn about it should be done after ruby upgrade.

To reproduce this issue:

- eselect ruby set ruby20
- USE=ruby emerge vim
- install some vim-ruby plugin like Command-T
- try to use Command-T within vim: it should work
- eselect ruby set ruby21
- recompile Command-T with current ruby
- try to use Command-T within vim: you'll get "vim should be compiled with ruby support" error, which can be solved by re-emerge vim

Maybe there are other packages which should be rebuilt after ruby upgrade, I didn't check and just in case rebuild everything listed by `equery depends ruby`.