Skip to content

Instantly share code, notes, and snippets.

@imranismail
Created November 27, 2014 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imranismail/97bc78daad901e245d87 to your computer and use it in GitHub Desktop.
Save imranismail/97bc78daad901e245d87 to your computer and use it in GitHub Desktop.
Installing Rails on Windows using Chocolatey
Error in user YAML: (<unknown>): did not find expected key while parsing a block mapping at line 1 column 1
---
layout: post
title: Installing Ruby and Rails on Windows 8
permalink: installing-ruby-rails-windows-8.html
description: how to install ruby on rails in windows 8
date: 2013-08-26 20:59:40 -07:00
tags: "windows","ruby","rails","chocolatey"
---

Installing Ruby and Rails on Windows 8

Fresh system:

  • install chocolatey
  • cinst git.install
  • cinst ruby
  • cinst ruby.devkit

Now, check that native gems install:

  • gem install json --platform=ruby

That should work without any errors.

Ok, you're good! gem install rails should work just fine.

But what about databases? Chocolatey has you all covered:

  • cinst postgresql ( default password is Postgres1234)
  • cinst SQLite3

I would not recommend MySQL on Windows, I have had many problems with it. You should switch to Postgres anyway ;-)

Now for some other things to complete my windows dev box experience:

  • cinst nodejs.install - because it's web scale
  • cinst markpad - an awesome markdown editor
  • cinst vlc - a great multi format video player
  • cinst ConsoleZ # makes windows terminal bearable - paste in, resize, etc.
  • cinst GoogleChrome - resistance is futile
  • cinst putty - best ssh key agent and client for windows
  • cinst 1password - but it does cost extra $ for windows version.

TODO

  • cinst putty DONE
  • cinst python
  • cinst Firefox DONE
  • cinst Compass
  • cinst PhantomJS
  • cinst fiddler
  • cinst Yeoman
  • cinst curl DONE
  • cinst dropbox
  • cinst vim DONE
  • cinst ack DONE
  • cinst ctags (yes they are exuberant) DONE
  • cinst wget
  • cinst launchy
  • cinst githubforwindows DONE

Things you can't get on Chocolatey: http://www.mls-software.com/opensshd.html - openssh Sublime Text 3

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