Also, if you're trying to get the machine's hostname, instead of invoking the shell to call uname or hostname or whatever, just use Socket.gethostname.
On Jun 3, 10:58 am, jemminger <[email protected]> wrote: > On Jun 3, 10:56 am, jemminger <[email protected]> wrote: > > > Don't cd into the script dir, instead call it from the project root: > > > ruby script/server > > Actually that doesn't seem to matter - the problem is that you're > trying to call chop() on nil here: > > C:/cairns/cairns/cairns/app/models/node.rb:60:in `initialize' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

