Skip to content

Instantly share code, notes, and snippets.

View rsanheim's full-sized avatar

Rob Sanheim rsanheim

View GitHub Profile
Exception in thread "main" java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V (compute.clj:19)
at clojure.lang.Compiler.eval(Compiler.java:5435)
at clojure.lang.Compiler.eval(Compiler.java:5410)
at clojure.lang.Compiler.load(Compiler.java:5852)
at clojure.lang.RT.loadResourceScript(RT.java:340)
at clojure.lang.RT.loadResourceScript(RT.java:331)
at clojure.lang.RT.load(RT.java:409)
at clojure.lang.RT.load(RT.java:381)
at clojure.core$load$fn__4505.invoke(core.clj:4905)
at clojure.core$load.doInvoke(core.clj:4904)
# taken from http://github.com/rsanheim/chatterbox/blob/bundler/Gemfile
source "http://rubygems.org"
gem "activesupport", "2.3.5", :require => "active_support"
gem "actionmailer", "2.3.5", :require => "action_mailer"
gem "actionpack", "2.3.5", :require => "action_pack"
group "development" do
gem "cucumber", "0.6.3"
gem "jeweler", "1.4.0"
[rcr-web 2] rake spec
(in /Volumes/codes/rcr-web 2)
NOTICE: CREATE TABLE will create implicit sequence "projects_id_seq" for serial column "projects.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "projects_pkey" for table "projects"
current class in question
(side question - shouldnt this be some Rspec class, and not my application class?):
ProjectsController
object ids:
[rcr-web (master)(-solo-)↑] git push
Counting objects: 89, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (61/61), done.
error: unable to create temporary sha1 filename ./objects/b2: No space left on device
fatal: failed to write object
error: unpack-objects exited with error code 128
error: pack-objects died of signal 13
error: pack-objects died with strange error
build@build104:/mnt/repos/dchelimsky/rspec$ rake
(in /mnt/repos/dchelimsky/rspec)
Autotest::Rspecdiscovery
adds the rspec autotest plugin
failed_results_re
should match a failure
should match a failure when matcher outputs multiple lines
should match an Error
should match an Error that doesn't end in Error
Autotest::Rspec
@rsanheim
rsanheim / clonus.rb
Created November 23, 2009 08:59 — forked from spicycode/clonus.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'active_support'
require 'yaml'
require 'fileutils'
require 'pathname'
RootPath = Pathname.new('/Volumes/space/github_mirror')
GithubInfo = YAML.load_file(RootPath.join('the_parts_horror.yml'))
~/src/priv/tmp (master)$ ls -la latest.sql
-rw-r--r-- 1 rsanheim staff 1515769301 Oct 21 01:59 latest.sql
~/src/priv/tmp (master)$ mysql5 -u root staging_dump < latest.sql
PAGER set to stdout
ERROR at line 647: Unknown command '\''.
~/src/priv/tmp (master)$ vim latest.sql
# wait forever while vim struggles to load the 1.4 Gig sql file to track this down...
$ rvm update --head
rvm 0.0.38 (2009.09.14) [http://rvm.beginrescueend.com/]
Initialized empty Git repository in /Users/rsanheim/.rvm/src/rvm/.git/
remote: Counting objects: 2469, done.
remote: Compressing objects: 100% (1328/1328), done.
remote: Total 2469 (delta 1391), reused 1416 (delta 725)
Receiving objects: 100% (2469/2469), 388.95 KiB | 172 KiB/s, done.
Resolving deltas: 100% (1391/1391), done.
/Users/rsanheim/.rvm/src/rvm
~/src/oss/rspec (dc/master)$ ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9.8.0]
~/src/oss/rspec (dc/master)$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.3, 2.3.2)
actionpack (2.3.3, 2.3.2)
activerecord (2.3.3, 2.3.2)
activeresource (2.3.3, 2.3.2)