Open
Description
First of all, I am using Windows 7 and Ruby 1.9.3.
I followed the installation instructions for Ruhoh and created a new blog:
ruhoh new myblog
cd myblog
rackup -p 9292
The last
6683
command raises a RuntimeError
with the following stacktrace.
C:/Ruby/ruby-1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
0 posts to process.
0 drafts to process.
←[32m6/6 pages processed.←[0m
C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/utils.rb:23:in `parse_file': File not found: D:/myblog/D:/myblog/_templates/themes/twitter/layouts/default.html (RuntimeError)
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/parsers/layouts.rb:11:in `block in generate'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/parsers/layouts.rb:9:in `each'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/parsers/layouts.rb:9:in `generate'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/db.rb:26:in `update'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/db.rb:39:in `block in update!'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/db.rb:38:in `each'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/db.rb:38:in `update!'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/previewer.rb:18:in `initialize'
from D:/myblog/config.ru:10:in `new'
from D:/myblog/config.ru:10:in `block in <main>'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from D:/myblog/config.ru:1:in `new'
from D:/myblog/config.ru:1:in `<main>'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:137:in `start'
from C:/Ruby/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.1/bin/rackup:4:in `<top (required)>'
from C:/Ruby/ruby-1.9.3/bin/rackup:19:in `load'
from C:/Ruby/ruby-1.9.3/bin/rackup:19:in `<main>'
There is obviously a problem with the filepath (look at File not found: D:/myblog/D:/myblog/_templates/themes/twitter/layouts/default.html. I guess it is related to a Windows operating system withouth further investigation.
Metadata
Metadata
Assignees
Labels
No labels