Skip to content

Instantly share code, notes, and snippets.

@b
Created February 22, 2009 03:55
Show Gist options
  • Save b/68321 to your computer and use it in GitHub Desktop.
Save b/68321 to your computer and use it in GitHub Desktop.
34 @_node_info = @connection.node_get_info
35 %w{ cores cpus memory mhz model nodes sockets threads }.each do |a|
36 instance_eval("@#{a}=#{@_node_info.send(a)}")
37 end
./bin/../lib/chevre/hypervisor.rb:36:in `open': undefined local variable or method `x86_64' for Chevre::Hypervisor:Class (NameError)
from ./bin/../lib/chevre/hypervisor.rb:35:in `each'
from ./bin/../lib/chevre/hypervisor.rb:35:in `open'
from bin/chevre:26
34 @_node_info = @connection.node_get_info
35 %w{ cores cpus memory mhz nodes sockets threads }.each do |a|
36 instance_eval("@#{a}=#{@_node_info.send(a)}")
37 end
38 @model = @_node_info.model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment