Skip to content

Instantly share code, notes, and snippets.

View joshuakemp1's full-sized avatar

Joshua Kemp joshuakemp1

  • Raleigh, N.C.
View GitHub Profile
@joshuakemp1
joshuakemp1 / gist:5104868
Created March 7, 2013 01:39
gem 'rmagick' bundle install error
Hey Jason, I'm running Lion OSX 10.7.5. It seems to be an error missing some code in the headers, but when I go in and add, it still doesn't work. Thanks for looking at the error.
gem 'rmagick' error bundle installingInstalling rmagick (2.13.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc-4.2... yes
@joshuakemp1
joshuakemp1 / dead_sherpa.rb
Last active December 15, 2015 01:48
Josh's Tank
class Hider1 < RTanque::Bot::Brain
NAME = 'Jason&Josh'
include RTanque::Bot::BrainHelper
CORNERS = [:NW, :NE, :SE, :SW]
TURRET_FIRE_RANGE = RTanque::Heading::ONE_DEGREE * 1.0
SWITCH_CORNER_TICK_RANGE = (600..1000)
def tick!
self.hide_in_corners
puts "yo what happening"