Preparing your Windows box for AWS and a MEAN (Node) website: Install Ruby, Gems and Sass
--
I walk through step by step how to get the Node.JS MEAN.JS scaffolded site working on a Windows 10 machine. This section is about installing Ruby, Ruby Gems and Ruby Sass packages on your local machine.
Go to parent article — Build a robust MEAN website in under an hour for less than $1/day — part 1
Go to previous article — Preparing your Windows box for AWS and a MEAN (Node) website: Install MongoDB as a Windows Service
If you already have Ruby, Gems and Sass installed on your local box then go to the next article — Preparing your Windows box for AWS and a MEAN (Node) website: Install AWS-CLI tools
We’ll walk through installing Ruby, Gems and Sass. Please keep in mind this step will NOT work successfully if you have not already installed Python 3.5.x, including selecting the option to add your Python folder to your Path statement.
If you’re not sure if you already have the correct Python installed, then you can run this command from Git Bash. The response should be the 3.5.x version of Python.
python --version
First let’s download the Ruby x64 installer from this web page
Click on the link for the latest x64 installer, in this case Ruby 2.3.1 (x64)
Run the MSI file after it has been downloaded
Click I accept the License and then click Next
I checked all the checkboxes and then clicked Install
You now have Ruby installed. Click Finish.
Update Pips and install Ruby Gems, Sass and bundler
Next you’ll need to open up Git Bash again
Follow these commands to install gems and then the gems sass and handler packages.
Update pip to the latest version with this command
python -m pip install --upgrade pip
Then run this command to install Ruby Gems
pip install gem
Then run this command to install Ruby gems Sass
gem install sass
Then run this command to install Ruby gems bundler, a required Gems package for our MEAN scaffold site’s build tasks
gem install bundler
Now we’re all done with Ruby
Go to parent article — Build a robust MEAN website in under an hour for less than $1/day — part 1
Go to previous article — Preparing your Windows box for AWS and a MEAN (Node) website: Install MongoDB as a Windows Service
Go to the next article — Preparing your Windows box for AWS and a MEAN (Node) website: Install AWS-CLI tools