-
-
Save maksimhn/0e87946cd7b430a7458e to your computer and use it in GitHub Desktop.
Revisions
-
GA-MEB revised this gist
Jul 6, 2015 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -299,13 +299,9 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin `rbenv install ruby-build` 5. Install version 2.2.0 of Ruby and make it the system-wide default using the command `rbenv install 2.2.0 && rbenv global 2.2.0` You can see what versions of Ruby rbenv has downloaded by running `rbenv versions`; to see which version you are currently using, type either `rbenv version` or `ruby -v`. -
GA-MEB revised this gist
Jun 22, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -79,7 +79,8 @@ We're going to be installing Node next; Node (and its various packages) will be ##### Linux ```bash # NVM export NVM_DIR="/home/your_username/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads NVM. ``` 3. Use NVM to install the latest stable version of Node -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -53,7 +53,7 @@ In order for Homebrew to work, we'll need to rely on a number of programs that c # NVM and Node/NPM We're going to be installing Node next; Node (and its various packages) will be the foundation of a large part of the course. First, though, we're going to download a tool called [NVM](https://github.com/creationix/nvm) that allows us to maintain multiple different versions of Node, in case we want to switch between them for different projects. Then we'll download Node, and use its associated package manager, NPM, to download and install the following Node modules: * JShint, a tool for testing JavaScript code quality. (`jshint`) * Grunt, a tool for automating background tasks. (`grunt-cli`) * Bower, a tool for managing front-end assets and libraries, such as jQuery. (`bower`) -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -70,14 +70,14 @@ We're going to be installing Node next; Node (and its various packages) will be 2. Add the following snippets to your bash configuration files (`.bash_profile` on OS X, `.bashrc` on Linux). ##### OS X ```bash # NVM export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh ``` ##### Linux ```bash # NVM ``` -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -86,8 +86,7 @@ We're going to be installing Node next; Node (and its various packages) will be `nvm install stable` 4. Finally, use NPM to install the Node modules mentioned earlier and make them available across all of our projects. `npm install -g jshint grunt-cli bower yo` #Sublime Text 3 -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -59,7 +59,6 @@ We're going to be installing Node next; Node (and its various packages) will be * Bower, a tool for managing front-end assets and libraries, such as jQuery. (`bower`) * Yeoman, a scaffolding tool to make building projects easier. (`yo`) 1. Run one of the following commands to install NVM. ##### OS X -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 5 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -54,10 +54,10 @@ In order for Homebrew to work, we'll need to rely on a number of programs that c # NVM and Node/NPM We're going to be installing Node next; Node (and its various packages) will be the foundation of a large part of the course. First, though, we're going to download a tool that allows us to maintain multiple different versions of Node, in case we want to switch between them for different projects. Then we'll download Node, and use its associated package manager, NPM, to download and install the following Node modules: * JShint, a tool for testing JavaScript code quality. (`jshint`) * Grunt, a tool for automating background tasks. (`grunt-cli`) * Bower, a tool for managing front-end assets and libraries, such as jQuery. (`bower`) * Yeoman, a scaffolding tool to make building projects easier. (`yo`) ##Installing NVM and Node/NPM 1. Run one of the following commands to install NVM. @@ -87,8 +87,7 @@ We're going to be installing Node next; Node (and its various packages) will be `nvm install stable` 4. Finally, use NPM to install some other Node modules that we'll be using across multiple projects. Enter the following command into the terminal to install all four of the packages mentioned earlier. `npm install -g jshint grunt-cli bower yo` -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 21 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -61,22 +61,36 @@ We're going to be installing Node next; Node (and its various packages) will be ##Installing NVM and Node/NPM 1. Run one of the following commands to install NVM. ##### OS X `brew install nvm` ##### Linux `sudo apt-get install npm` 2. Add the following snippets to your bash configuration files (`.bash_profile` on OS X, `.bashrc` on Linux). ##### OS X ``` # NVM export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh ``` ##### Linux ``` # NVM ``` 3. Use NVM to install the latest stable version of Node `nvm install stable` 4. Finally, use NPM to install other Node modules that we'll be using across multiple projects. Enter the following command into the terminal to install all four of the packages mentioned earlier. `npm install -g jshint grunt-cli bower yo` #Sublime Text 3 -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,10 @@ <!-- # Instructor Notes Ruby Version : 2.2.0 (with 2.2.2 as a backup) Node Version : 0.12.4 Postgres Version : 9.4.3 (9.4.2 server) --> # Before you come in... **OS X** @@ -350,8 +357,3 @@ Next, we'll download Postgres, the database program we'll be using for most of t #CONGRATULATIONS! YOU'RE READY TO ROLL! -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 16 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,3 @@ # Before you come in... **OS X** @@ -50,20 +44,22 @@ In order for Homebrew to work, we'll need to rely on a number of programs that c 4. Once Homebrew says `Your system is ready to brew`, run `brew update` to update Homebrew's directory of packages. # NVM and Node/NPM We're going to be installing Node next; Node (and its various packages) will be the foundation of a large part of the course. First, though, we're going to download a tool that allows us to maintain multiple different versions of Node, in case we want to switch between them for different projects. Then we'll download Node, and use its associated package manager, NPM, to download and install the following Node modules: * JShint, a tool for testing JavaScript code quality. * Grunt, a tool for automating background tasks. * Bower, a tool for managing front-end assets and libraries, such as jQuery. * Yeoman, a scaffolding tool to make building projects easier. ##Installing NVM and Node/NPM 1. Run one of the following commands to install NVM. ##### OS X `brew install nvm` ##### Linux `sudo apt-get install npm` 2. Install the latest version of Node (as of ## Installing Other JS-Related Tools Just enter the following commands into the terminal. @@ -353,3 +349,9 @@ Next, we'll download Postgres, the database program we'll be using for most of t [Download and install Evernote](https://evernote.com/evernote/) #CONGRATULATIONS! YOU'RE READY TO ROLL! ##### Instructor Notes Ruby Version : 2.2.0 (with 2.2.2 as a backup) Node Version : 0.12.4 Postgres Version : 9.4.3 (9.4.2 server) -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -340,7 +340,7 @@ Next, we'll download Postgres, the database program we'll be using for most of t #####OS X Create a new terminal shortcut, just like we did with Sublime Text. `ln -s /Applications/Postgres.app/Contents/Versions/9.4/bin/psql /usr/local/bin/psql` #####Linux -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -336,7 +336,7 @@ Next, we'll download Postgres, the database program we'll be using for most of t See [https://help.ubuntu.com/community/PostgreSQL](https://help.ubuntu.com/community/PostgreSQL) if you run into any issues with the installation. 3. It's terminal shortcut time! Let's configure a `psql` shortcut so that we can run Postgres from the command line. #####OS X -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -284,13 +284,13 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin `rbenv install ruby-build` 5. Install two versions of Ruby, 2.2.0 and 2.2.2, using the command `rbenv install 2.2.0 && rbenv install 2.2.2` Make 2.2.0 the system-wide default using the command `rbenv global 2.2.0` You can see what versions of Ruby rbenv has downloaded by running `rbenv versions`; to see which version you are currently using, type either `rbenv version` or `ruby -v`. -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -340,12 +340,12 @@ Next, we'll download Postgres, the database program we'll be using for most of t #####OS X Let's create a new terminal shortcut, just like we did with Sublime Text. `ln -s /Applications/Postgres.app/Contents/Versions/9.4/bin/psql /usr/local/bin/psql` #####Linux Linux already has a shortcut set up for us; just add the existing shortcut to the environmental PATH variable. `echo "export PATH=/usr/local/psql/bin:$PATH" >> ~/.bashrc` # Evernote -
GA-MEB revised this gist
Jun 19, 2015 . 1 changed file with 13 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -324,19 +324,29 @@ Next, we'll download Postgres, the database program we'll be using for most of t 2. Once you've installed Postgres, install the postgres gem from the command line so that Ruby can access it. #####OS X `gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config` #####Linux `gem install pg` Linux folks must also specify a default database user, using the following command: `sudo -u postgres createuser *<ubuntu_username>* -s` See [https://help.ubuntu.com/community/PostgreSQL](https://help.ubuntu.com/community/PostgreSQL) if you run into any issues with the installation. 3. Terminal Shortcut Time! #####OS X (OS X Only) Let's create a terminal shortcut, just like we did with Sublime Text. `ln -s /Applications/Postgres.app/Contents/Versions/9.4/bin/psql /usr/local/bin/psql` #####Linux Add the existing shortcut to the environmental PATH variable. `echo "export PATH=/usr/local/psql/bin:$PATH" >> ~/.bashrc` # Evernote -
GA-MEB revised this gist
May 6, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -258,6 +258,8 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin fi ``` Once you've done this, run `source ~/.bash_profile` (or `.bashrc` on Linux) to reload the terminal's settings. 3. (OS X only) Install a tool to re-hash gems after each installation (Linux users, unfortunately must do this manually). `brew install rbenv-gem-rehash` -
GA-MEB revised this gist
Apr 24, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,9 +60,9 @@ We're going to be installing Node next; Node (and its various packages) will be ##Installing Node/NPM Run one of the following commands. ##### OS X `brew install node` ##### Linux `sudo apt-get install npm` ## Installing Other JS-Related Tools Just enter the following commands into the terminal. -
GA-MEB revised this gist
Apr 24, 2015 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -77,15 +77,15 @@ Just enter the following commands into the terminal. #Sublime Text 3 ##### OS X * Download the latest Sublime Text build from [http://www.sublimetext.com/3](http://www.sublimetext.com/3). * Double-click the .dmg file to open it, and drag the icon into your 'Applications' folder. * Next, enter the following into your terminal - it will create a 'symlink', a shortcut that we can use to open Sublime from the command line. `ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl` ##### Linux * Add the PPA (personal package archive) for SublimeText 3 to `apt` and update your package directory. @@ -172,7 +172,7 @@ Now let's take care of some settings. export PS1="\w \$(parse_git_branch)\$ " ``` ##### Linux Follow the instructions given for OS X, but replace `.bash_profile` with `.bashrc` - Tweak Git's EDITOR variable so that commit message pop-ups open in Sublime. @@ -223,11 +223,11 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin 1. Install Rbenv #####OS X Run `brew install rbenv`. #####Linux Copy and paste this entire line into your terminal and run it. @@ -312,11 +312,11 @@ Next, we'll download Postgres, the database program we'll be using for most of t 1. First, download and install Postgres. #####OS X Download and install the Postgress App : http://postgresapp.com/ #####Linux Run `sudo apt-get install postgresql libpq-dev` to install Postgres and its dependencies. -
GA-MEB revised this gist
Apr 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -173,7 +173,7 @@ Now let's take care of some settings. ``` #####Linux Follow the instructions given for OS X, but replace `.bash_profile` with `.bashrc` - Tweak Git's EDITOR variable so that commit message pop-ups open in Sublime. -
GA-MEB revised this gist
Apr 24, 2015 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -160,7 +160,7 @@ Now let's take care of some settings. - Show the current Git branch in the terminal prompt ##### OS X Run the command `subl ~/.bash_profile` to open up .bash_profile, a hidden settings file for the terminal. Paste the following code into the bottom of the file. ```bash @@ -172,7 +172,7 @@ Now let's take care of some settings. export PS1="\w \$(parse_git_branch)\$ " ``` #####Linux Follow the instructions given for OS X, but replace `.bash_profile` with `.bashrc`. - Tweak Git's EDITOR variable so that commit message pop-ups open in Sublime. @@ -235,7 +235,7 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin 2. Tell Rbenv to use homebrew's directories instead of rbenv's #####OS X Open ~/.bash_profile and paste in the following code BEFORE the stuff you pasted in about Git. ```bash @@ -245,7 +245,7 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin eval "$(rbenv init -)" ``` #####Linux Open ~/.bashrc and paste in the following code BEFORE the stuff you pasted in about Git. @@ -272,11 +272,11 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin 5. Install `ruby-build`, a plugin for rbenv. #####OS X `brew install ruby-build` #####Linux `git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build` -
GA-MEB revised this gist
Apr 24, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -160,6 +160,7 @@ Now let's take care of some settings. - Show the current Git branch in the terminal prompt #### OS X Run the command `subl ~/.bash_profile` to open up .bash_profile, a hidden settings file for the terminal. Paste the following code into the bottom of the file. ```bash @@ -171,6 +172,9 @@ Now let's take care of some settings. export PS1="\w \$(parse_git_branch)\$ " ``` ####Linux Follow the instructions given for OS X, but replace `.bash_profile` with `.bashrc`. - Tweak Git's EDITOR variable so that commit message pop-ups open in Sublime. `echo "export EDITOR='subl -w'" >> ~/.bash_profile` @@ -232,7 +236,6 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin 2. Tell Rbenv to use homebrew's directories instead of rbenv's ####OS X Open ~/.bash_profile and paste in the following code BEFORE the stuff you pasted in about Git. ```bash -
GA-MEB revised this gist
Apr 22, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,7 +73,7 @@ Just enter the following commands into the terminal. `npm install -g bower` `npm install -g yo` #Sublime Text 3 -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -54,9 +54,9 @@ In order for Homebrew to work, we'll need to rely on a number of programs that c We're going to be installing Node next; Node (and its various packages) will be the foundation of a large part of the course. These packages get managed through a tool called NPM. Right now, we'll use NPM to install the following tools: * JShint, a tool for testing JavaScript code quality. * Grunt, a tool for automating background tasks. * Bower, a tool for managing front-end assets and libraries, such as jQuery. * Yeoman, a scaffolding tool to make building projects easier. ##Installing Node/NPM Run one of the following commands. @@ -69,12 +69,12 @@ Just enter the following commands into the terminal. `npm install -g jshint` `npm install -g grunt-cli` `npm install -g bower` `npm install -g yeoman` #Sublime Text 3 #### OS X -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,9 +66,13 @@ Run one of the following commands. `sudo apt-get install npm` ## Installing Other JS-Related Tools Just enter the following commands into the terminal. `npm install -g jshint` `npm install -g yeoman` `npm install -g grunt-cli` `npm install -g bower` #Sublime Text 3 -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -323,9 +323,11 @@ Next, we'll download Postgres, the database program we'll be using for most of t See [https://help.ubuntu.com/community/PostgreSQL](https://help.ubuntu.com/community/PostgreSQL) if you run into any issues with the installation. 3. (OS X Only) Let's create a terminal shortcut, just like we did with Sublime Text. `ln -s /Applications/Postgres.app/Contents/Versions/9.4/bin/psql /usr/local/bin/psql` 4. (Linux Only) Add the existing shortcut to the environmental PATH variable. `echo "export PATH=/usr/local/psql/bin:$PATH" >> ~/.bash_profile` # Evernote -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ <!-- Last Updated : 2015-04-16 Ruby Version : 2.2.2 Postgres Version : 9.4.x --> # Before you come in... -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -314,7 +314,7 @@ Next, we'll download Postgres, the database program we'll be using for most of t 2. Once you've installed Postgres, install the postgres gem from the command line so that Ruby can access it. `gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config` Linux folks must also specify a default database user, using the following command: -
GA-MEB revised this gist
Apr 16, 2015 . No changes.There are no files selected for viewing
-
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -314,7 +314,7 @@ Next, we'll download Postgres, the database program we'll be using for most of t 2. Once you've installed Postgres, install the postgres gem from the command line so that Ruby can access it. `ggem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config` Linux folks must also specify a default database user, using the following command: -
GA-MEB revised this gist
Apr 16, 2015 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -158,6 +158,7 @@ Now let's take care of some settings. Run the command `subl ~/.bash_profile` to open up .bash_profile, a hidden settings file for the terminal. Paste the following code into the bottom of the file. ```bash # Git function parse_git_branch { ref=$(git symbolic-ref HEAD 2> /dev/null) || return echo "("${ref#refs/heads/}")" @@ -227,19 +228,21 @@ Rbenv is a tool that we can use to manage multiple versions of Ruby and determin ####OS X Open ~/.bash_profile and paste in the following code BEFORE the stuff you pasted in about Git. ```bash # Rbenv export RBENV_ROOT=/usr/local/var/rbenv export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" ``` ####Linux Open ~/.bashrc and paste in the following code BEFORE the stuff you pasted in about Git. ```bash # Rbenv export RBENV_ROOT="${HOME}/.rbenv" if [ -d "${RBENV_ROOT}" ]; then export PATH="${RBENV_ROOT}/bin:${PATH}"
NewerOlder