<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hasen-fus</author_name>
  <author_url>https://blog.hatena.ne.jp/hasen-fus/</author_url>
  <blog_title>hasen's tech life</blog_title>
  <blog_url>https://hasen.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>MongoDB</anon>
  </categories>
  <description>『Webエンジニアの教科書』を読んでいて，RubyからMongoDBへの接続が上手くいかないので，gemのバージョンを下げた． $ ruby -v &gt; ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14] $ gem install mongo --no-ri --no-rdoc &gt; Successfully installed mongo-2.0.2 $ vi test_mongo.rb ++ # encoding: utf-8 ++ require &quot;rubygems&quot; ++ require &quot;mongo&quot; ++ ++ # c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhasen.hatenablog.com%2Fentry%2F2015%2F04%2F08%2F202057&quot; title=&quot;RubyからMongoDBに接続したら，`&amp;lt;main&amp;gt;&amp;#39;: uninitialized constant Mongo::Connection (NameError)というエラーが出たので．gemのヴァージョンを下げた． - hasen&amp;#39;s tech life&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-04-08 20:20:57</published>
  <title>RubyからMongoDBに接続したら，`&lt;main&gt;': uninitialized constant Mongo::Connection (NameError)というエラーが出たので．gemのヴァージョンを下げた．</title>
  <type>rich</type>
  <url>https://hasen.hatenablog.com/entry/2015/04/08/202057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
