MongoDB Ruby Driver Issue
I am on Ubuntu and I did
install gem mongo
who reported
Successfully installed bson-1.0
Successfully installed mongo-1.0
2 gems installed
I started mongod
Now I connected to the gmon mongo directory and tried
> ruby examples/simple.rb
and I get the error
./examples/../lib/mongo.rb:31:in `require': no such file to load -- bson (LoadError)
from ./examples/../lib/mongo.rb:31
from examples/simple.rb:3:in `require'
from examples/simple.rb:3
which I can't figure out about since the bson gem is installed
> gem list
*** LOCAL GEMS ***
bson (1.0)
bson_ext (1.0)
mongo (1.0)
rack (1.1.0)
sinatra (1.0)
Any suggestions what is here?
+2
a source to share