Last active
April 28, 2018 15:45
-
-
Save gomesar/71db9732d3a38cded3d6b8161148515b to your computer and use it in GitHub Desktop.
Install gem with sudo in user environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If you get permission denied error while using gem 'install tmuxinator' | |
# install tmuxinator in user environment | |
sudo -E gem install tmuxinator | |
# The -E part keeps your users environment intact. | |
# Else it would install it for the user root | |
# Thread: https://github.com/tmuxinator/tmuxinator/issues/27 | |
# Credits: https://github.com/Chinggis6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment