Skip to content

Instantly share code, notes, and snippets.

View TimMoore's full-sized avatar

Tim Marcus Moore TimMoore

View GitHub Profile
@TimMoore
TimMoore / Gemfile
Last active December 21, 2015 00:19 — forked from coldnebo/Gemfile
source 'https://rubygems.org'
gemspec
10:20:24 Using /home/jenkins/.rvm/gems/ruby-1.9.3-p392
10:20:24 Fetching from: http://rubygems.org/api/v1/dependencies
10:20:25 HTTP Success
10:20:25 Fetching gem metadata from http://rubygems.org/
10:20:25 Query List: ["rake", "json", "nokogiri", "uuidtools", "aws-sdk", "builder", "coffee-script-source", "multi_json", "execjs", "coffee-script", "columnize", "debugger-ruby_core_source", "debugger-linecache", "debugger", "ffi", "term-ansicolor", "thor", "foreman", "growl", "guard", "guard-coffeescript", "sass", "guard-sass", "net-ping", "pg", "rb-fsevent", "spp_aws", "sqlite3"]
10:20:25 Query Gemcutter Dependency Endpoint API: rake,json,nokogiri,uuidtools,aws-sdk,builder,coffee-script-source,multi_json,execjs,coffee-script,columnize,debugger-ruby_core_source,debugger-linecache,debugger,ffi,term-ansicolor,thor,foreman,growl,guard,guard-coffeescript,sass,guard-sass,net-ping,pg,rb-fsevent,spp_aws,sqlite3
10:20:25 Fetching from: http://rubygems.org/api/v1/dependencies?gems=rake,json,nokogiri,uuidtools,aws-sdk,buil
[22:36:12] tmoore@tmoore-macbook:~ (master $=) $ for i in {1..5}; do time curl -L https://bundler-api.herokuapp.com/specs.4.8.gz > /dev/null; done
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 1412k 100 1412k 0 0 141k 0 0:00:10 0:00:10 --:--:-- 299k
real 0m10.106s
user 0m0.054s
sys 0m0.050s
% Total % Received % Xferd Average Speed Time Time Time Current
[21:53:15] tmoore@tmoore-macbook-pro:~/Projects/thor (ruby-1.8.7-compat *=) $ rm Gemfile.lock
[21:53:22] tmoore@tmoore-macbook-pro:~/Projects/thor (ruby-1.8.7-compat *=) $ bundle env
Bundler 1.3.5
Ruby 2.0.0 (2013-11-22 patchlevel 353) [x86_64-darwin13.0.2]
Rubygems 2.0.14
GEM_HOME /Users/tmoore/Projects/thor/.gem/ruby/2.0.0
GEM_PATH /Users/tmoore/Projects/thor/.gem/ruby/2.0.0:/Users/tmoore/.gem/ruby/2.0.0:/Users/tmoore/.rubies/ruby-2.0.0-p353/lib/ruby/gems/2.0.0
Gemfile
@TimMoore
TimMoore / gist:10080042
Created April 8, 2014 01:16
gem-installing-prerelease-dependency
ubuntu@ip-10-63-20-40:~$ gem --version
2.2.2
ubuntu@ip-10-63-20-40:~$ sudo gem install --verbose aws-sdk
sudo: unable to resolve host ip-10-63-20-40
GET https://api.rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-1.38.0.gemspec.rz
302 Moved Temporarily
$ rubocop -R -d
For /Users/timm/projects/sol: configuration from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rubocop-0.21.0/config/default.yml
Inheriting configuration from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rubocop-0.21.0/config/enabled.yml
Inheriting configuration from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rubocop-0.21.0/config/disabled.yml
Inspecting 39 files
Scanning /Users/timm/projects/sol/app/controllers/application_controller.rb
.Scanning /Users/timm/projects/sol/app/controllers/pois_controller.rb
An error occurred while Delegate cop was inspecting /Users/timm/projects/sol/app/controllers/pois_controller.rb.
undefined method `children' for nil:NilClass
/opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rubocop-0.21.0/lib/rubocop/cop/rails/delegate.rb:68:in `delegate?'
@TimMoore
TimMoore / gist:cafc6da5d3b3f9e9ca58
Created December 8, 2014 03:45
brew install fontforge
$ brew update
Already up-to-date.
$ brew install fontforge
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/fontforge-2014-1.yosemite.bottle.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 9cb3881adf612eae21aa4c70eb17907a96f05d8d
Actual: 0a0417452ac6cbd601b5f2f1509b69936bbdece6
Archive: /Library/Caches/Homebrew/fontforge-2014-1.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
@TimMoore
TimMoore / keybase.md
Last active February 2, 2017 16:40
keybase.md

Keybase proof

I hereby claim:

  • I am timmoore on github.
  • I am tmoore (https://keybase.io/tmoore) on keybase.
  • I have a public key ASAb51Shr5h7C7RE4u07RvECiH5T9Ev9iIeVyijD0z2KEgo

To claim this, I am signing this object:

ERROR: Failed to build gem native extension.
/Users/198103/.rbenv/versions/2.1.0/bin/ruby extconf.rb
/Users/198103/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
/Users/198103/.rbenv/versions/2.1.0/bin/ruby extconf.rb
/Users/198103/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
/Users/198103/.rbenv/versions/2.1.0/bin/ruby extconf.rb
/Users/198103/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
@TimMoore
TimMoore / gist:34c6fcd9795b4904602b
Last active March 15, 2016 06:51
Reproduction script for: 1.12.0.rc: cannot install omniauth-google-oauth2 0.4.1 using new index
$ mkdir bundle-omniauth-google-oauth2
$ cd bundle-omniauth-google-oauth2/
$ bundle --version
Bundler version 1.11.2
$ bundle init
Writing new Gemfile to /Users/tim/src/bundle-omniauth-google-oauth2/Gemfile
$ bundle inject omniauth-google-oauth2 0.4.1
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..