Skip to content

Instantly share code, notes, and snippets.

View ilkka's full-sized avatar
:octocat:
sanitary deeds done at reasonable prices

Ilkka Poutanen ilkka

:octocat:
sanitary deeds done at reasonable prices
View GitHub Profile
c:\>gem install spork --debug -V
Exception `NameError' at C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/site_ruby/1.9.1
/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::Install
Command
Exception `NameError' at C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/1.9.1/syck/tag.
rb:81 - method `yaml_as' not defined in Module
Exception `Gem::LoadError' at C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/site_ruby/
1.9.1/rubygems.rb:779 - Could not find RubyGem test-unit (>= 0)
Exception `Gem::LoadError' at C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/site_ruby/
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-07-02 patchlevel -1) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: C:/ruby-1.9.2-rc1-i386-mingw32/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/ruby-1.9.2-rc1-i386-mingw32/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
c:\ruby-1.9.2-rc1-i386-mingw32\lib\ruby\gems\1.9.1\gems\spork-0.8.4\ext>ruby mkrf_conf.rb
Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system
c:\ruby-1.9.2-rc1-i386-mingw32\lib\ruby\gems\1.9.1\gems\spork-0.8.4\ext>rake --trace RUBYARCHDIR=C:\ruby-1.9.2-rc1-i386-mingw32\lib\ruby\gems\1.9.1\gems\spork-0.8.4\lib RUBYLIBDIR=c:\ruby-1.9.2-rc1-i386-mingw32\lib\ruby\gems\1.9.1\gems\spork-0.8.4\lib
C:/ruby-1.9.2-rc1-i386-mingw32/lib/ruby/site_ruby/1.9.1/rubygems.rb:335:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception)
from <internal:gem_prelude>:282:in `method_missing'
from C:/ruby-1.9.2-rc1-i386-mingw32/bin/rake:19:in `<main>'
Path=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files\QuickTime\QTSystem\;C:\Python31;c:\pik\bin;C:\ruby-1.9.2-rc1-i386-mingw32\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
[ 5.259]
X.Org X Server 1.9.0
Release Date: 2010-08-20
[ 5.259] X Protocol Version 11, Revision 0
[ 5.259] Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
[ 5.259] Current Operating System: Linux testari-laptop 2.6.35-20-generic #29-Ubuntu SMP Fri Sep 3 14:49:14 UTC 2010 i686
[ 5.259] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.35-20-generic root=UUID=954778c0-715f-4737-8e4b-e955a207a176 ro quiet splash
[ 5.259] Build Date: 08 September 2010 09:03:27AM
[ 5.259] xorg-server 2:1.9.0-0ubuntu5 (For technical support please see http://www.ubuntu.com/support)
[ 5.259] Current version of pixman: 0.18.4
$ vagrant ssh
/home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/vagrant-0.6.3/lib/vagrant/command/ssh.rb:27:in `ssh_connect': uninitialized constant Vagrant::Command::SSHCommand::VMNotCreatedError (NameError)
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/vagrant-0.6.3/lib/vagrant/command/ssh.rb:11:in `execute'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/task.rb:22:in `run'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/invocation.rb:118:in `invoke_task'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `block in invoke_all'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `each'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `map'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@global/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `invoke_all'
from /home/ilaukkan/.rvm/gems/ruby-1.9.2-p0@
@ilkka
ilkka / archivepage.rb
Created November 19, 2010 19:37
Jekyll ArchivePage class
module Jekyll
class ArchivePage
include Convertible
attr_accessor :site, :pager, :name, :ext, :basename, :dir, :data, :content, :output
# Initialize new ArchivePage
# +site+ is the Site
# +month+ is the month
# +posts+ is the list of posts for the month
@ilkka
ilkka / archivegenerator.rb
Created November 20, 2010 15:44
Jekyll archive page generator plugin
module Jekyll
class ArchiveGenerator < Generator
safe true
def generate(site)
collate_by_month(site.posts).each do |month, posts|
page = ArchivePage.new(site, month, posts)
site.pages << page
end
end
@ilkka
ilkka / archivelinks.html
Created November 20, 2010 18:04
Jekyll archive page lister