![]() # port = otherport. # If the port is 27017 by default then otherport don't need to assignment # use fsync and lock to the file-system before backup the file-system MongoMapper will serve as our object mapper. Generate page, controller and model layer files through the generate command of rails (individuals still prefer to create them manually, here for demonstration convenience) This tutorial discusses the development of a web application on Rails and MongoDB. Enter in the browser:, you can see the following page Start the program again, the notice prompt message disappears, and the startup is normal. Just install the library as prompted (don’t forget to add gem in gemfile): ![]() You can see bson from the output above_ Ext library not loaded. INFO WEBrick::HTTPServer#start: pid=19595 port=3000 => Rails 3.0.10 application starting in development on If you continue to receive this message after installing, make sure that theīson_ext gem is in your load path and that the bson_ext and mongo gems are of the same version.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |