Skip to content

Instantly share code, notes, and snippets.

View alexsanford's full-sized avatar

Alex Sanford alexsanford

View GitHub Profile
@alexsanford
alexsanford / Gemfile
Created February 14, 2013 15:05
Problem with installing rice on heroku
source 'https://rubygems.org'
gem 'rails', '3.2.12'
gem 'sqlite3'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
@alexsanford
alexsanford / Command I Ran
Created January 15, 2013 13:23
This is the information for the bundler issue that I posted here (https://groups.google.com/d/msg/ruby-bundler/QToODPnprYw/roT6nDMT6coJ).
DEBUG_RESOLVER=y bundle update &> bundler.debug
@alexsanford
alexsanford / bundler.debug
Created January 14, 2013 13:55
Bundler resolver issue
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
==== Iterating ====
Activated:
Requirements:
locomotive_cms (>= 0) ruby
xpath (~> 0.1.4) ruby
mocha (= 0.9.12) ruby
factory_girl_rails (~> 1.6.0) ruby
@alexsanford
alexsanford / application.html.erb
Created August 29, 2012 01:32
Render rails views inside a liquid block in Locomotive CMS
<!-- File: app/views/layouts/application.html.erb -->
<!DOCTYPE html>
<html>
<head>
<title>Locomotive Test</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>