Loading problem with filters

27 views
Skip to first unread message

Hans Gerwitz

unread,
Apr 3, 2013, 7:00:43 AM4/3/13
to na...@googlegroups.com
I've run into a newbie problem that I just can't get around with my little site, the source of which is viewable at https://github.com/gerwitz/hgc-site

On compiling, the very first item to have filters applied throws:

NameError: uninitialized constant Erubis

at .rvm/gems/ruby-1.9.3-p392/gems/nanoc-3.6.2/lib/nanoc/filters/erubis.rb:11

I have tried switching Ruby versions, and replacing gems. I even removed all RVM rubies, RVM itself, reinstalled Homebrew, and started "from scratch", only to replicate this with Ruby 1.9.3 and 1.9.2. I'm on OS X 10.8.3, and Bundler says:
  * addressable (2.3.3)
  * builder (3.2.0)
  * bundler (1.3.4)
  * colored (1.2)
  * cri (2.3.0)
  * css_parser (1.2.6)
  * deadweight (0.2.2)
  * erubis (2.7.0)
  * json (1.7.7)
  * kramdown (1.0.1)
  * nanoc (3.6.2)
  * nokogiri (1.5.9)
  * rdoc (4.0.1)
  * rubypants (0.2.0)
  * systemu (2.5.2)
  * typogruby (1.0.15)

If I turn on verbosity and warnings, the last few lines output are:
*** Started visiting <Nanoc::Item identifier="/about/history/" binary?=false>
*** Dependency created from <Nanoc::Item identifier="/about/history/" binary?=false> onto <Nanoc::Item identifier="/about/history/" binary?=false>
*** Ended visiting <Nanoc::Item identifier="/about/history/" binary?=false>
*** Suspended compilation of <Nanoc::ItemRep name="default" binary=false raw_path="output/about/history.html" item.identifier="/about/history/">: uninitialized constant Erubis

Any ideas on how to further diagnose would be most welcome!

Hans Gerwitz

unread,
Apr 3, 2013, 10:14:00 AM4/3/13
to na...@googlegroups.com
For the records, here, Denis helped me out in IRC but we only determined that Erubis and my machine don't like each other, even on a clean site. I migrated to ERB.
Reply all
Reply to author
Forward
0 new messages