Andrew Ching
unread,Jan 8, 2012, 4:34:11 PM1/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-dev
Hi Support,
Being a newbiz in using ruby and rubygem, I have the steps to install
mongodb and ruby, but encounter errors, pls help to verify the steps
machine: RHEL 5 on x86-64 in one VM
steps -
1. download and install mongodb-linux-x86_64-2.0.2 on linux VM box
2. mongodb install and run successfully and version as 2.0.2
3. download and install Ruby - ruby-1.9.3-p0
4. Confirm the Ruby version after install
ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
5. download and install rubygem - rubygems-1.8.12
[root@bigdata ~]# gem -v
1.8.12
gem list
*** LOCAL GEMS ***
bigdecimal (1.1.0)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
6. cos no internet access, mongodb running in vm server, there is no
mongodb in gem repository, so I download the gem file -
mongodb-2.0.2.gem. Install the mongodb as - gem install mongodb -v
2.0.2. Error came out as
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: mongodb requires mongo (~> 1.4)
any steps wrong and juz ask how to proceed !!!.
Regards,
Andrew