Last active
December 19, 2015 12:09
-
-
Save sudiptamondal/5952466 to your computer and use it in GitHub Desktop.
MongoDB Class. Install mongo driver to connect with ruby source files.
Part 1 - Install gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Steps | |
# 1. Install the gem mongo | |
gem install mongo | |
gem install bson_ext | |
# bson_ext is for optimal performance of using mongodb. | |
# You can still use mongo without it. | |
# But then, it will throw a warning. | |
# you you skip rdoc and ri using | |
# gem install mongo --no-rdoc --no-ri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment