Skip to content

Instantly share code, notes, and snippets.

@Beyarz
Last active December 27, 2019 20:13
Show Gist options
  • Save Beyarz/b65fe48ec6b741d688bcea5ee022670e to your computer and use it in GitHub Desktop.
Save Beyarz/b65fe48ec6b741d688bcea5ee022670e to your computer and use it in GitHub Desktop.
rails on windows

Get the windows subsystem (ubuntu)

sudo apt update && sudo apt dist-upgrade && sudo apt-get autoremove && sudo apt-get clean

sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev libreadline-dev zlib1g-dev

(Updated version can be found here https://rvm.io/)
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable --rails
source /etc/profile.d/rvm.sh
add users to rvm group
example: usermod -a -G rvm beyar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment