Skip to content

Instantly share code, notes, and snippets.

Avatar

Jori Hardman jorihardman

View GitHub Profile
@jorihardman
jorihardman / gist:d45149b791fdb03bf526
Created Dec 4, 2014
Broken bundle env. Dependency error when running 'bundle update rails_admin'
View gist:d45149b791fdb03bf526
Bundler 1.7.7
Ruby 2.1.3 (2014-09-19 patchlevel 242) [x86_64-darwin13.0]
Rubygems 2.2.2
rvm 1.26.3 (latest)
GEM_HOME /Users/jori/.rvm/gems/ruby-2.1.3@swipesense_rails_server
GEM_PATH /Users/jori/.rvm/gems/ruby-2.1.3@swipesense_rails_server:/Users/jori/.rvm/gems/ruby-2.1.3@global
rubygems-bundler (1.4.4)
Gemfile
@jorihardman
jorihardman / gist:4f12c83541b07c4b6084
Created May 18, 2015
ActiveRecord Timestamp Precision Bug Report
View gist:4f12c83541b07c4b6084
unless File.exist?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
gem 'mysql2', '0.3.18'
GEMFILE
system 'bundle'
end
@jorihardman
jorihardman / sumo_logic.config
Last active May 25, 2020
Elastic Beanstalk Sumo Logic Config
View sumo_logic.config
# This will automatically install the Sumo Logic collector on AWS Elastic
# Beanstalk instances. Add this to the .ebextensions folder in your app root
# and edit L24-25 to match your Sumo Logic accessid and accesskey. To add or
# remove tracked files, simply add or remove source hashes to the sources
# array on L36.
packages:
rpm:
SumoCollector: https://collectors.sumologic.com/rest/download/rpm/64
services:
You can’t perform that action at this time.