Skip to content

Instantly share code, notes, and snippets.

View agrimm's full-sized avatar

Andrew Grimm agrimm

  • Terem Technologies
  • Sydney, New South Wales
View GitHub Profile
[agrimm@computer_name ghc-6.11.20090907]$ darcs pull -a
darcs failed: Unable to "darcs pull" here.
You need to be in a repository directory to run this command.
[agrimm@computer_name ghc]$ ./darcs-all get
warning: adding --partial, to override use --complete
warning: . already present; omitting
warning: utils/hsc2hs already present; omitting
warning: utils/haddock already present; omitting
warning: libraries/array already present; omitting
warning: libraries/base already present; omitting
warning: libraries/base3-compat already present; omitting
warning: libraries/bytestring already present; omitting
warning: libraries/Cabal already present; omitting
[agrimm@computer_name ghc]$ ./configure --enable-shared --prefix=/usr/local
configure: WARNING: unrecognized options: --enable-shared
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /bin/sort
checking for GHC version date... inferred 6.11.20090912
checking for ghc... /usr/local/bin/ghc
checking version of ghc... 6.11.20090907
configure: error:
/usr/local/bin/ghc is a development snapshot of GHC, version 6.11.20090907.
[agrimm@computer_name Hubris]$ ruby /usr/local/bin/rake
(in /home/agrimm/ruby/haskell/Hubris)
mkdir: cannot create directory `/home/agrimm/.hubris_cache': File exists
find: `/home/agrimm/bin': No such file or directory
creating Makefile
mkdir: cannot create directory `/home/agrimm/.hubris_cache': File exists
find: `/home/agrimm/bin': No such file or directory
creating Makefile
............**....
[agrimm@computer_name Hubris]$ ruby /usr/local/bin/rake gem --verbose --trace
(in /home/agrimm/ruby/haskell/Hubris)
mkdir: cannot create directory `/home/agrimm/.hubris_cache': File exists
find: `/home/agrimm/bin': No such file or directory
creating Makefile
** Invoke gem (first_time)
** Invoke pkg/hubris-0.0.2.gem (first_time)
** Invoke pkg (first_time, not_needed)
** Invoke HISTORY.markdown (first_time, not_needed)
** Invoke Manifest.txt (first_time, not_needed)
[agrimm@computer_name Hubris]$ irb
irb(main):001:0> $LOAD_PATH << './lib'
=> ["/usr/lib/ruby/site_ruby/1.8", "/usr/lib/ruby/site_ruby/1.8/i386-linux", "/usr/lib/ruby/site_ruby", "/usr/lib/site_ruby/1.8", "/usr/lib/site_ruby/1.8/i386-linux", "/usr/lib/site_ruby", "/usr/lib/ruby/1.8", "/usr/lib/ruby/1.8/i386-linux", ".", "./lib"]
irb(main):002:0> require "hubris"
mkdir: cannot create directory `/home/agrimm/.hubris_cache': File exists
find: `/home/agrimm/bin': No such file or directory
creating Makefile
=> true
irb(main):003:0> class Target
irb(main):004:1> include Hubris
[agrimm@computer_name ~]$ ghc-pkg
ghc-pkg ghc-pkg-6.11.20090907
ghc-pkg-6.10.3 ghc-pkg-6.11.20090912
[agrimm@computer_name ~]$ ls -l dump*
-rw-rw-r-- 1 agrimm agrimm 63816 2009-10-05 10:00 dump1.txt
-rw-rw-r-- 1 agrimm agrimm 63173 2009-10-05 10:00 dump2.txt
-rw-rw-r-- 1 agrimm agrimm 65641 2009-10-05 10:00 dump3.txt
-rw-rw-r-- 1 agrimm agrimm 65641 2009-10-05 10:00 dump.txt
[agrimm@computer_name ~]$ diff dump.txt dump1.txt | less
[agrimm@computer_name ~]$ ghc-pkg-6.11.20090912 --version
#Not a bug complaint at this stage, but just in case I want to come back to it later
[agrimm@computer_name ~]$ bananajour
* Started http://computer_name.local:9331/
* Started git://computer_name.local/
Registering http://computer_name.local:9331/
== Sinatra/0.9.4 has taken the stage on 9331 for production with backup from Thin
>> Thin web server (v1.0.0 codename That's What She Said)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9331, CTRL+C to stop
#I'm surprised at how much gets installed with gem update --system
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Andrew>gem --version
0.9.4
C:\Documents and Settings\Andrew>gem update --system
Updating RubyGems...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
#The following was with gem version 0.9.4
C:\Documents and Settings\Andrew>gem install exemplor -s http://gemcutter.org
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 403
C:\Documents and Settings\Andrew>gem --version