RoR 4.0.2 issues

gem “mongoid”, github: “mongoid/mongoid”

kept giving me the error:

fatal: read error: Connection reset by peer
Git error: command `git clone ‘git://github.com/mongoid/mongoid.git’
“/home/mfang/.rvm/gems/ruby-2.1.0/cache/bundler/git/mongoid-176c799a8a4589043b073e277e545d697119fa82”
–bare –no-hardlinks` in directory /home/mfang/dev/ror/aws-iar_mygitstation has
failed.

Changed it to

gem “mongoid”,  :git => ‘https://github.com/mongoid/mongoid.git’

Now it works fine.

Reference:

http://stackoverflow.com/questions/20900884/mongoid-error-conflict-with-bundle-install-ror-using-the-gem-from-github

Advertisements
This entry was posted in RoR and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s