Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 1369a0e

Browse files
committed
Remove Gem
I think it has a potential to conflict with Homebrew files on macOS.
1 parent 6cceb58 commit 1369a0e

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Just invoke `topgrade`. It will invoke the following steps:
2828
* [Plug](https://github.com/junegunn/vim-plug)
2929
* Upgrade NPM globally installed packages
3030
* Upgrade Atom packages
31-
* Upgrade RubyGems globally installed packages
3231
* *Linux*: Invoke the system package manager:
3332
* *Arch*: Invoke [yay](https://github.com/Jguer/yay) or fall back to pacman
3433
* *Redhat based*: Invoke `yum upgrade`

src/main.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ fn main() -> Result<(), Error> {
125125
}
126126
}
127127

128-
if let Ok(gem) = which("gem") {
129-
terminal.print_separator("RubyGems");
130-
run_gem(&gem).report("RubyGems", &mut reports);
131-
}
132-
133128
if let Ok(npm) = which("npm") {
134129
terminal.print_separator("Node Package Manager");
135130
run_npm(&npm).report("Node Package Manager", &mut reports);

src/steps.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,6 @@ pub fn run_vim(
7373
Ok(())
7474
}
7575

76-
pub fn run_gem(gem: &PathBuf) -> Result<(), failure::Error> {
77-
Command::new(&gem)
78-
.args(&["update"])
79-
.spawn()?
80-
.wait()?
81-
.check()?;
82-
83-
Ok(())
84-
}
85-
8676
pub fn run_npm(npm: &PathBuf) -> Result<(), failure::Error> {
8777
Command::new(&npm)
8878
.args(&["update", "-g"])

0 commit comments

Comments
 (0)