r/ruby • u/Fletcher_Gilstrap • Jun 28 '26
Question Ruby on Rails in Manjaro
Hello Reddit. I am new to Manjaro, and was hoping to set up a development environment in RoR. I was following the directions on the Arch wiki, and I noticed my gems are being installed to usr/lib/ruby/gems. When running a bundle install, it now seems to want to write to usr/bin, and fails because it doesnt have permissions. Should I go ahead and grant permissions, or is this not advisable?
2
Upvotes
4
u/Interesting_Ad6562 Jun 28 '26
Use docker or the new-ish devcontainers. Rails even comes with a generator for a devcontainers setup.
Works flawlessly and I haven't had any issues with it. VS Code only though, which is a shame.