From nate at natemurray.com Thu Feb 15 11:36:22 2007 From: nate at natemurray.com (Nathan Murray) Date: Thu, 15 Feb 2007 08:36:22 -0800 Subject: undefined method `[]=' for # (hobix/entry.rb:84) Message-ID: <6FE182D7-AC9A-4941-9CC1-DA60333F1A9F@natemurray.com> 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] /usr/local/lib/ruby/site_ruby/1.8/hobix/entry.rb:84:in `to_yaml': undefined method `[]=' for # (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? From mental at rydia.net Fri Feb 16 16:34:39 2007 From: mental at rydia.net (MenTaLguY) Date: Fri, 16 Feb 2007 16:34:39 -0500 Subject: undefined method `[]=' for # (hobix/entry.rb:84) In-Reply-To: <6FE182D7-AC9A-4941-9CC1-DA60333F1A9F@natemurray.com> References: <6FE182D7-AC9A-4941-9CC1-DA60333F1A9F@natemurray.com> Message-ID: <1171661679.1365.7.camel@localhost.localdomain> On Thu, 2007-02-15 at 08:36 -0800, Nathan Murray wrote: > Hey, this hobix thing looks pretty sweet. Love the installer idea, > however I am having a problem when trying to create a new blog. Sadly, all of the released versions of Hobix are known to be broken with current Ruby -- the only option at the moment is to check out a copy from SVN. I'd like to get a release out soon, but there are still some issues I'm trying to nail down. -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20070216/f7aa43a2/attachment.bin