On Aug 12, 2007, at 12:51 AM, Ams Lone wrote: > I am trying to generate some charts using Scruffy or Gruff.. But > both of > them are failing with NameError. > > I am a noob and googled a lot. Any help on how to fix these errors. > > D:/Screener/Scruffy.rb:2: uninitialized constant Scruffy (NameError) > > > ./gruff.rb:4: uninitialized constant Gruff (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 D:/Screener/gruff.rb:2 > from -e:1:in `load' > from -e:1 > -- > Posted via http://www.ruby-forum.com/. > Posting code is better, but make sure you use require 'rubygems' require 'gemname' (where gemname is scruffy or whatever gem you are using) Also make sure you install a gem using gem install gemname --include-dependencies So you can make sure you are not missing anything.