Skip to content

Instantly share code, notes, and snippets.

View mbi's full-sized avatar

Marco Bonetti mbi

View GitHub Profile

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server:

@mbi
mbi / gist:1790431
Created February 10, 2012 15:54
Errors when running `brew upgrade -v subversion'
➜ ~ brew upgrade -v subversion
zsh: correct 'subversion' to '.subversion' [nyae]? n
==> Upgrading subversion
==> Downloading http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.7.2.tar.bz2
Error: undefined class/module URI::
Please report this bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
/usr/local/Library/Homebrew/formula_installer.rb:151:in `load'
/usr/local/Library/Homebrew/formula_installer.rb:151:in `build'
/usr/local/Library/Homebrew/utils.rb:228:in `ignore_interrupts'
### Keybase proof
I hereby claim:
* I am mbi on github.
* I am mbi (https://keybase.io/mbi) on keybase.
* I have a public key whose fingerprint is F5F1 53ED 8545 43EE 6F2E 868B 0CD6 53F7 20EC 93AA
To claim this, I am signing this object:
@mbi
mbi / gist:43aaf52fd636cbf0984953d2b0342f71
Created January 3, 2017 10:12
Lolcommits gem install on Ruby 2.4
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
/usr/local/opt/ruby/bin/ruby -r ./siteconf20170103-28508-1iie6k3.rb extconf.rb
creating Makefile
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c