-
-
Save andhapp/0d8d3ee93fd79aefcfd8 to your computer and use it in GitHub Desktop.
Revisions
-
chrisb revised this gist
Jun 3, 2014 . 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 @@ -8,9 +8,8 @@ Yep, over at: https://developer.apple.com ### 2. Install the Command Line Tools (CLT) http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_10.10_for_xcode__june_2014/command_line_tools_for_osx_10_10_june_2014.dmg (thanks @thomaslindstrom) ### 3. Install Homebrew -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -36,7 +36,7 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke #fi ``` ### 5. Point Ruby 1.8 at Ruby 2.0 It looks like Homebrew somehow depends on Ruby being in `Versions/1.8` (though even Mavericks ships with 2.0). Until Homebrew addresses this, we'll symlink our system version of Ruby to the one Homebrew looks for. -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -38,7 +38,7 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke ### 5. Point Ruby 1.8 to Ruby 2.0 It looks like Homebrew somehow depends on Ruby being in `Versions/1.8` (though even Mavericks ships with 2.0). Until Homebrew addresses this, we'll symlink our system version of Ruby to the one Homebrew looks for. Create the folder: -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -4,7 +4,7 @@ Here's what I did to get things working. ### 1. Install Xcode 6 Yep, over at: https://developer.apple.com ### 2. Install the Command Line Tools (CLT) -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -60,4 +60,4 @@ You'll probably need to install Bundler with `gem install bundler` if you haven' ## Improve this Gist! Leave a comment if something didn't work. -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -54,7 +54,7 @@ sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/ ### 6. Hack away! My subsequent `brew install` commands seemed to work fine (`ruby-build`, `redis`, etc...). Along with `rbenv`, etc. You'll probably need to install Bundler with `gem install bundler` if you haven't already. -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -56,6 +56,8 @@ sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/ My subsequent `brew install` commands seemed to work fine (`ruby-build`, `redis`, etc...) You'll probably need to install Bundler with `gem install bundler` if you haven't already. ## Improve this Gist! Leave a comment if something didn't work right for you. -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -38,7 +38,7 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke ### 5. Point Ruby 1.8 to Ruby 2.0 It looks like Homebrew somehow depends on Ruby 1.8 despite even Mavericks shipping with version 2. So until Homebrew fixes this, we'll symlink our system version of Ruby to the one Homebrew is looking for (in `Versions/1.8`) Create the folder: -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -38,14 +38,14 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke ### 5. Point Ruby 1.8 to Ruby 2.0 _It looks like Homebrew somehow depends on Ruby 1.8 despite even Mavericks shipping with version 2. So until Homebrew fixes this, we'll symlink our system version of Ruby to the one Homebrew is looking for (in `Versions/1.8`)_ Create the folder: ```sh sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin ``` Then symlink the binary: ```sh -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -36,7 +36,7 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke #fi ``` ### 5. Point Ruby 1.8 to Ruby 2.0 Create the folder: -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -14,6 +14,8 @@ Make sure you get the package for 10.10. ### 3. Install Homebrew Copy/pasted from the site: ```sh ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -42,6 +42,8 @@ Create the folder: sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin ``` _It looks like Homebrew somehow depends on Ruby 1.8 despite Mavericks shipping with a 2.0 version. So until Homebrew fixes this, we'll symlink our system version of Ruby to the one Homebrew is looking for (in `Versions/1.8`)_ Then symlink the binary: ```sh -
chrisb revised this gist
Jun 3, 2014 . 1 changed file with 11 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 @@ -14,15 +14,17 @@ Make sure you get the package for 10.10. ### 3. Install Homebrew ```sh ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` ### 4. Update the `brew` Script Open up `/usr/local/bin/brew` with your favorite editor. I had to comment out the brew system detection, so that the last 6-7 lines looked like this: ```sh #BREW_SYSTEM=$(uname -s | tr "[:upper:]" "[:lower:]") #if [ "$BREW_SYSTEM" = "darwin" ] #then @@ -36,11 +38,15 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke Create the folder: ```sh sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin ``` Then symlink the binary: ```sh sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby ``` ### 6. Hack away! -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -2,21 +2,21 @@ Here's what I did to get things working. ### 1. Install Xcode 6 Self explanatory. ### 2. Install the Command Line Tools (CLT) Hit it: https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-# Make sure you get the package for 10.10. ### 3. Install Homebrew `ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"` ### 4. Update the `brew` Script Open up `/usr/local/bin/brew` @@ -32,7 +32,7 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke #fi ``` ### 5. Point Ruby 2.0 to Ruby 1.8 (I know, I know..) Create the folder: @@ -42,10 +42,10 @@ Then symlink the binary: `sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby` ### 6. Hack away! My subsequent `brew install` commands seemed to work fine (`ruby-build`, `redis`, etc...) ## Improve this Gist! Leave a comment if something didn't work right for you. -
chrisb revised this gist
Jun 3, 2014 . 1 changed file with 11 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 @@ -16,7 +16,7 @@ Make sure you get the package for 10.10. `ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"` ### Update the `brew` Script Open up `/usr/local/bin/brew` @@ -32,12 +32,20 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke #fi ``` ### Point Ruby 2.0 to Ruby 1.8 (I know, I know..) Create the folder: `sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin` Then symlink the binary: `sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby` ### Hack away! My subsequent `brew install` commands seemed to work fine (`ruby-build`, `redis`, etc...) ### Improve this Gist! Leave a comment if something didn't work right for you. -
chrisb revised this gist
Jun 3, 2014 . 1 changed file with 9 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 @@ -32,4 +32,12 @@ I had to comment out the brew system detection, so that the last 6-7 lines looke #fi ``` ## Point Ruby 2.0 to Ruby 1.8 (I know, I know..) Create the folder: `sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin` Then symlink the binary: `sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby` -
chrisb revised this gist
Jun 3, 2014 . 1 changed file with 3 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 @@ -16,7 +16,9 @@ Make sure you get the package for 10.10. `ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"` ## Update the `brew` Script Open up `/usr/local/bin/brew` I had to comment out the brew system detection, so that the last 6-7 lines looked like this: -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -12,9 +12,9 @@ Hit it: https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-# Make sure you get the package for 10.10. ### Install Homebrew `ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"` ## Update `/usr/local/bin/brew` -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -10,6 +10,8 @@ Self explanatory. Hit it: https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-# Make sure you get the package for 10.10. ### Install homebrew the normal way (That is, afte -
chrisb revised this gist
Jun 3, 2014 . 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 @@ -1,4 +1,4 @@ # OS X 10.10 Guide Here's what I did to get things working. -
chrisb revised this gist
Jun 3, 2014 . 1 changed file with 16 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 @@ -1,3 +1,19 @@ # Homebrew, Ruby, and Rails on OS X 10.10 Here's what I did to get things working. ### Install Xcode 6 Self explanatory. ### Install the Command Line Tools (CLT) Hit it: https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-# ### Install homebrew the normal way (That is, afte ## Update `/usr/local/bin/brew` I had to comment out the brew system detection, so that the last 6-7 lines looked like this: -
chrisb renamed this gist
Jun 3, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
chrisb created this gist
Jun 3, 2014 .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 @@ -0,0 +1,15 @@ ## Update `/usr/local/bin/brew` I had to comment out the brew system detection, so that the last 6-7 lines looked like this: ``` #BREW_SYSTEM=$(uname -s | tr "[:upper:]" "[:lower:]") #if [ "$BREW_SYSTEM" = "darwin" ] #then # exec "$BREW_LIBRARY_DIRECTORY/brew.rb" "$@" #else exec ruby -W0 "$BREW_LIBRARY_DIRECTORY/brew.rb" "$@" #fi ``` ## Point Ruby 2.0 to Ruby 1.8 (I know, I know..)