#132
Ruby on Rails Development with Microsoft Windows 10
5-6-2018
Summary
Developing a Ruby on Rails application on Windows can be difficult, but doesn't have to be with Bash on Windows. Learn how to use Bash to install the Ruby interpreter.
2
development
rails
8:05
Summary
Developing a Ruby on Rails application on Windows can be difficult, but doesn't have to be with Bash on Windows. Learn how to use Bash to install the Ruby interpreter.
2
Resources
Dell Inspiron 5379 - https://www.costco.com/Dell-Inspiron-13-5000-Series-2-in-1-Touchscreen-Laptop
RVM - http://rvm.io/
Installing Node - https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
Summary
Installing RVMgpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
source /home/$(whoami)/.rvm/scripts/rvm
rvm install 2.5.1Installing NodeJScurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejsCreating Code Folder and Aliascd /mnt/c/Users/$(whoami)
mkdir Code
vi ~/.bashrc
alias cc="cd /mnt/c/Users/$(whoami)/Code"Installing Railsgem install rails
rails new testapp
rails new testapp -d mysql # with MySQL
For MySQL, you will also need to install mysql-server and libmysqlclient-dev.
Terminalsudo apt install mysql-server libmysqldev-client