From: Ams Lone Date: 2007-08-12T15:36:13+09:00 Subject: Re: NameError - Scruffy and Gruff - Hey John - I reinstalled scruffy using the include dependencies option, but still the same error.. require 'rubygems' require 'scruffy' graph = Scruffy::Graph.new graph.title = "Comparative Agent Performance" graph.value_formatter = Scruffy::Formatters::Percentage.new(:precision => 0) graph.add :stacked do |stacked| stacked.add :bar, 'Jack', [30, 60, 49, 29, 100, 120] stacked.add :bar, 'Jill', [120, 240, 0, 100, 140, 20] stacked.add :bar, 'Hill', [10, 10, 90, 20, 40, 10] end graph.point_markers = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'] >ruby Scruffy.rb ./scruffy.rb:4: uninitialized constant Scruffy (NameError) from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from Scruffy.rb:2 >Exit code: 1 -- Posted via http://www.ruby-forum.com/.