---
title: "Discussion on \"How to Setup Ruby to run gem install Without Sudo\" | Hashnode"
description: "Discussion on \"How to Setup Ruby to run gem install Without Sudo\". let’s get you a clean Ruby environment so you can install Capistrano without sudo and without fighting system directories. The easiest, safest way is to use a Ruby version manager like rbenv (lightweight) or rvm (full‑featured). I’ll walk you through..."
url: "https://hashnode.com/posts/how-to-setup-ruby-to-run-gem-install-without-sudo/68b7f1beaeecf660dca5a42c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Setup Ruby to run gem install Without Sudo](https://fiko.me/how-to-setup-ruby-to-run-gem-install-without-sudo?utm_source=hashnode&utm_medium=feed)

let’s get you a clean Ruby environment so you can install Capistrano without sudo and without fighting system directories. The easiest, safest way is to use a Ruby version manager like rbenv (lightweight) or rvm (full‑featured). I’ll walk you through...

Sep 3, 2025 · 2 min read · fiko.me  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#ruby](https://hashnode.com/tag/ruby)

## Written by

[Fiko Borizqy](https://hashnode.com/@fikoborizqy)

@fikoborizqy · Yogyakarta, Indonesia

  
[View profile](https://hashnode.com/@fikoborizqy)

Magento 2 Developer

I wrote these tutorials for myself in future when I forget for the next steps.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
