# RVM Installation/configuration issue

**URL:** <https://www.ruby-forum.com/t/rvm-installation-configuration-issue/262379>\
**Category:** Ruby-Forum\
**Created:** [January 7, 2022, 8:38pm UTC](https://www.ruby-forum.com/t/rvm-installation-configuration-issue/262379 "2022-01-07T20:38:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gump](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ce73a5/32.png) [@gump](https://www.ruby-forum.com/u/gump)\
**Post date:** [January 7, 2022, 8:38pm UTC](https://www.ruby-forum.com/t/rvm-installation-configuration-issue/262379/1 "2022-01-07T20:38:21Z")

</div>

I have a strange issue with RVM, where I’m getting this error while attempting to install ruby 2.x:

ERROR: While executing gem … (Gem::FilePermissionError)  
You don’t have write permissions for the /opt/local/lib/ruby3.0/gems/3.0.0 directory.

It shouldn’t be trying to pull from the system/macports area. All the other commands seem to work, and for 3.1. I don’t have any local .profile variables set.

I’m not sure where to look for this one. Anyone encounter it?
