Preparing your Windows box for AWS and a MEAN (Node) website: Install Ruby, Gems and Sass

Joseph Nielsen
3 min readSep 15, 2016

--

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.

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
The result of python --version should be your 3.x version.

First let’s download the Ruby x64 installer from this web page

Download the latest x64 release, in this case Ruby 2.3.1 (x64)

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

I accept. Straight to the point.

Click I accept the License and then click Next

Check all the check boxes though only the PATH checkbox is important.

I checked all the checkboxes and then clicked Install

Finished like the Finnish

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
If you don’t upgrade pip now you’ll get complaints when you try to install the awsebcli package

Then run this command to install Ruby Gems

pip install gem
pip install gem

Then run this command to install Ruby gems Sass

gem install 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
gem install bundler

Now we’re all done with Ruby

--

--

Joseph Nielsen

I lead the software engineering and DevOps practice for Slalom, New Jersey. I enjoy building things, endurance running and all things DeepRacer.