Skip to content

Instantly share code, notes, and snippets.

@qbektrix
Created March 24, 2015 03:53
Show Gist options
  • Save qbektrix/1f29fb45eed69e430d15 to your computer and use it in GitHub Desktop.
Save qbektrix/1f29fb45eed69e430d15 to your computer and use it in GitHub Desktop.
Two things, First I'd suggest you bring your laptops in case you wanna play around with **ember-cli** or **rails cli** during the sessions.
Second, regarding which tools you need to have installed prior to the session in case you want to be prepared, here is the list and instructions for OS X
# OS X Yosemite
### Ruby on Rails
Install [Homebrew](http://brew.sh/)
```
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
Install [RVM](https://rvm.io)
```
brew install rvm
```
Install Ruby 2.2.1 and set it as default
```
rvm install 2.2.1
rvm 2.2.1 --default
```
Install Ruby on Rails Latest 4.2.1
```
gem install rails --no-ri --no-rdoc
```
### Ember.js
##### Install [Node.js](http://nodejs.org/)
```
brew install nodejs
```
##### Configure [NPM](http://npmjs.org)
By default node modules will be installed under /usr/local, to change this path to your home directory so that you don't have to type "sudo" when installing or updating a node module, place the following to **~/.npmrc**
```
# ~/.npmrc
prefix=~/.npm-packages
```
Add the following to your **~/.bash_profile** or **~/.zshrc**
```
export NODE_PATH=$HOME/.npm-packages/lib/node_modules:$NODE_PATH
export PATH=$HOME/.npm-packages/bin:$PATH
```
##### Ember-CLI
npm install -g ember-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment