mikedemers / rbing

a Ruby library for Microsoft's Bing search API
http://9astronauts.com/code/ruby/rbing
MIT License
28 stars 21 forks source link

uninitialized constant RBing #3

Open rubydog opened 12 years ago

rubydog commented 12 years ago

steps to reproduce error

gem install rbing

require 'rubygems' require 'rbing' bing = RBing.new("APPID")

doing so give me following error

    from /Users/bhushan/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
    from /Users/bhushan/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from rbing.rb:2
rubydog commented 12 years ago

I tried to do same with irb

require 'rubygems' require 'rbing

gives me

    from /Users/bhushan/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
    from /Users/bhushan/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from (irb):2