Hey, this hobix thing looks pretty sweet. Love the installer idea,
however I am having a problem when trying to create a new blog.
I'm on OSX.
Posted below is what happens:
*** Creation of weblog `tech' will add the following directory"
structure to directory /Users/nathan/Sites/tech"
[snip]
Create this structure? [y/N]: y
The default blog is available in the following modes:
apache1-ssi, apache2-ssi
Mode: [Enter for none] <ENTER>
/usr/local/lib/ruby/site_ruby/1.8/hobix/entry.rb:84:in `to_yaml':
undefined method `[]=' for #<YAML::Syck::Emitter:0x3af9f8>
(NoMethodError)
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:18:in
`node_export'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
from /usr/local/lib/ruby/1.8/yaml.rb:387:in `call'
... 9 levels...
from /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:
346:in `loop'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:
346:in `setup_blogs'
from /usr/local/bin/hobix:64:in `call'
from /usr/local/bin/hobix:64
It seems to have something to do with weblog.rb:319 in:
def Weblog::load( hobix_yaml )
hobix_yaml = File.expand_path( hobix_yaml )
weblog = YAML::load( File::open( hobix_yaml ) ) # => problem
weblog.start( hobix_yaml )
weblog
end
Any thoughts?
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way