RubyGems
This commit is contained in:
@@ -24,6 +24,7 @@ Just invoke `topgrade`. It will invoke the following steps:
|
|||||||
* Upgrade Emacs packages
|
* Upgrade Emacs packages
|
||||||
* Upgrade NPM globally installed packages
|
* Upgrade NPM globally installed packages
|
||||||
* Upgrade Atom packages
|
* Upgrade Atom packages
|
||||||
|
* Upgrade RubyGems globally installed packages
|
||||||
* *Linux*: Invoke the system package manager:
|
* *Linux*: Invoke the system package manager:
|
||||||
* *Arch*: Invoke [yay](https://github.com/Jguer/yay) or fall back to pacman
|
* *Arch*: Invoke [yay](https://github.com/Jguer/yay) or fall back to pacman
|
||||||
* *Redhat based*: Invoke `yum upgrade`
|
* *Redhat based*: Invoke `yum upgrade`
|
||||||
|
|||||||
@@ -135,6 +135,15 @@ fn main() -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Ok(gem) = which("gem") {
|
||||||
|
terminal.print_separator("RubyGems");
|
||||||
|
Command::new(&gem)
|
||||||
|
.args(&["update"])
|
||||||
|
.spawn()?
|
||||||
|
.wait()?
|
||||||
|
.report("RubyGems", &mut reports);
|
||||||
|
}
|
||||||
|
|
||||||
if let Ok(npm) = which("npm") {
|
if let Ok(npm) = which("npm") {
|
||||||
terminal.print_separator("Node Package Manager");
|
terminal.print_separator("Node Package Manager");
|
||||||
Command::new(&npm)
|
Command::new(&npm)
|
||||||
|
|||||||
Reference in New Issue
Block a user