Skip to content

Instantly share code, notes, and snippets.

View veganstraightedge's full-sized avatar
🐢
Computers were a mistake.

Shane Becker veganstraightedge

🐢
Computers were a mistake.
View GitHub Profile
<% if @artist %>
<%= link_to "Edit Artist Information", @artist %>
<% if @artist.representative_required %>
<% if @representative %>
<%= link_to "Edit Representative", edit_representative_path(@representative) %>
<% else %>
<%= link_to "Add Representative", new_representative_path %>
<% end %>
class user << AR
def unpaid?
!paid
end
def north_america?
country == "Mexico" or country == "Canada" or country == "United States"
end
module ApplicationHelper
def awesome?
Aaron.patterson.present?
end
end
/* iphone... */
@media screen and (max-device-width: 480px) {
}
/* ...iphone */
/* iphone portrait... */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
}
/* ...iphone portrait */
bin_path "vendor/bundled/bin"
bundle_path "vendor/bundled"
disable_system_gems
gem "aasm", "= 2.1.1" # stateful models
gem "acts_as_reportable" # CSV downloads
gem "flacinfo-rb", "= 0.4.0" # read/write FLAC metadata
gem "haml" # ugh
gem "intercession", "= 2.0.0" # session as model
# when running autotest
48 tests, 37 assertions, 34 failures, 0 errors, 10 skips
0 tests, 0 assertions, 0 failures, 0 errors
Unable to map class script to a file
Unable to map class selectors::utility to a file
Unable to map class embedded ruby to a file
Unable to map class embedded ruby to a file
Unable to map class embedded ruby to a file
[master] ~/Dropbox/Sites/dang: rake spec --trace
(in /Users/s/Dropbox/Sites/dang)
warning: couldn't activate the minitest plugin, skipping
** Invoke spec (first_time)
** Execute spec
rake aborted!
undefined method `require_relative' for main:Object
/Users/s/Dropbox/Sites/dang/Rakefile:23
/Users/s/Dropbox/Sites/dang/Rakefile:22:in `each'
/Users/s/Dropbox/Sites/dang/Rakefile:22
<style>
.item { background: red; }
html body div div div div div div div div p { background: blue; }
</style>
<html>
<body>
<div>
<div>
<div>
Installing pg (0.11.0) with native extensions /Library/Ruby/Site/1.8/rubygems/installer.rb:533:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/local/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for PQconnectdb() in -lpq... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/gherkin-2.3.2.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/json-1.4.6.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/json-1.5.1.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/mongrel-1.1.5.gemspec:11.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement