<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiboma</author_name>
  <author_url>https://blog.hatena.ne.jp/hiboma/</author_url>
  <blog_title>hibomaの日記</blog_title>
  <blog_url>https://hiboma.hatenadiary.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>puppetでも使われてるシステム構成情報をいい感じに取ってくれる rubyのfacterというgemがありますが、なかなかワイルドな人です * llib/ruby/gems/1.9.1/gems/facter-1.6.8 module Facter # 中略 # Set LANG to force i18n to C # ENV['LANG'] = 'C' #!/usr/bin/env ruby puts ENV[&quot;LANG&quot;] # ja_JP.UTF-8 require 'facter' puts ENV[&quot;LANG&quot;] # C しれっと LANG=C に書き換えてくれます。書き変えた後に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiboma.hatenadiary.jp%2Fentry%2F20120510%2F1336658075&quot; title=&quot; ruby facter の罠 - hibomaの日記&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>2012-05-10 22:54:35</published>
  <title> ruby facter の罠</title>
  <type>rich</type>
  <url>https://hiboma.hatenadiary.jp/entry/20120510/1336658075</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
