<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>lingxueyu (ling)</title>
    <link>https://ruby-china.org/lingxueyu</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>自从卸载了 rmagick 以后就 install 不回去了...不得已来求助~</title>
      <description>&lt;p&gt;OS X EI Capitan 10.11.1。。曾经我在执行了 brew update &amp;amp;&amp;amp; brew upgrade 以后我的 rails c 什么的就跑不起来了。。报了个 image 的错误，然后我就脑抽得卸载了 rmagick，bundle exec gem uninstall rmagick，并且选择了 all versions..然后就是用尽浑身解数也装不回去了。。执行 sudo gem install rmagick 一直提示
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.
    /Users/apple/.rbenv/versions/2.2.0-dev/bin/ruby -r ./siteconf20160108-2705-15xzewu.rb extconf.rb
checking for clang... yes
checking for Magick-config... yes
checking for outdated ImageMagick version (&amp;lt;= 6.4.9)... no
checking for Ruby version &amp;gt;= 1.8.5... yes
checking for stdint.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/Users/apple/.rbenv/versions/2.2.0-dev/bin/$(RUBY_BASE_NAME)
/Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:457:in &lt;code&gt;try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:588:in&lt;/code&gt;try_cpp'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:1091:in &lt;code&gt;block in have_header'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:942:in&lt;/code&gt;block in checking_for'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:351:in &lt;code&gt;block (2 levels) in postpone'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:321:in&lt;/code&gt;open'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:351:in &lt;code&gt;block in postpone'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:321:in&lt;/code&gt;open'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:347:in &lt;code&gt;postpone'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:941:in&lt;/code&gt;checking_for'
    from /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/2.3.0/mkmf.rb:1090:in &lt;code&gt;have_header'
    from extconf.rb:38:in&lt;/code&gt;configure_headers'
    from extconf.rb:18:in &lt;code&gt;initialize'
    from extconf.rb:517:in&lt;/code&gt;new'
    from extconf.rb:517:in `&lt;/p&gt;'&lt;p&gt;&lt;/p&gt;

&lt;p&gt;extconf failed, exit code 1&lt;/p&gt;

&lt;p&gt;Gem files will remain installed in /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/rmagick-2.15.4 for inspection.
Results logged to /Users/apple/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/rmagick-2.15.4/gem_make.out&lt;/p&gt;

&lt;p&gt;我重装了 brew install imagemagick，还是不能 sudo gem install rmagick
查了很多，居然大多都是在 window 上装才会出现这种错误信息。。可是我 OS X 诶。。于是就蛋疼了。。&lt;/p&gt;

&lt;p&gt;这个到底是为毛啊。。。跪求！&lt;/p&gt;

&lt;p&gt;我也怀疑我是不是搞了点 npm 的东西。。结果把这个 navite 搞坏了。。但是想想又不大可能吧。。&lt;/p&gt;</description>
      <author>lingxueyu</author>
      <pubDate>Fri, 08 Jan 2016 22:15:00 +0800</pubDate>
      <link>https://ruby-china.org/topics/28665</link>
      <guid>https://ruby-china.org/topics/28665</guid>
    </item>
    <item>
      <title>[深圳] 萌萌学车 诚招 Ruby 工程师</title>
      <description>&lt;h2 id="关于萌萌学车"&gt;关于萌萌学车&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;萌萌学车&lt;/strong&gt;是一个 O2O 学车平台，重新定义学车模式，让天下没有难考的驾照。学员可以通过萌萌学车 App 直接预约教练学车，按小时付费，一对一教学，App 约考，用更少的钱，更快速考到驾照，不再经历驾校排队等待的痛苦，让你学车从此萌萌哒！&lt;/p&gt;
&lt;h2 id="关于招聘"&gt;关于招聘&lt;/h2&gt;
&lt;p&gt;Ruby 高级工程师 1 名&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;基本要求&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;2 年&lt;/strong&gt; 以上 Ruby on Rails 开发工作经验；&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;熟悉 linux、mysql、git;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;熟悉 HTML, CSS, Javascript；&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="关于待遇"&gt;关于待遇&lt;/h2&gt;
&lt;p&gt;我们提供具有竞争力的工资！！虽然重要的事情要说三遍！三遍！
还可以免费学车哦！体检到拿驾照一条龙服务！&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;福利待遇&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;年底双薪&lt;/li&gt;
&lt;li&gt;免费的零食饮料&lt;/li&gt;
&lt;li&gt;Xbox 游戏&lt;/li&gt;
&lt;li&gt;虽然不让说我们公司美女如云（公司没女的），但是！别的公司有啊！我们地处科技园的思微工作站，这里集结了许多油菜花有节操有妹纸的公司！每天都是不一样的脸！我都记不清了！创业氛围绝对良好！&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="关于你"&gt;关于你&lt;/h2&gt;
&lt;p&gt;我们期待能够看到&lt;del&gt;逗比、智慧、睿智、狂炫酷霸屌炸天不服不行了的你！&lt;/del&gt;【并没有】
不管你是什么样的人只要三观正！我们都欢迎！&lt;/p&gt;

&lt;p&gt;简历请投递：sam@mmxueche.com
官网：&lt;a href="http://mmxueche.com/" rel="nofollow" target="_blank"&gt;http://mmxueche.com/&lt;/a&gt;&lt;/p&gt;</description>
      <author>lingxueyu</author>
      <pubDate>Tue, 30 Jun 2015 20:12:16 +0800</pubDate>
      <link>https://ruby-china.org/topics/26261</link>
      <guid>https://ruby-china.org/topics/26261</guid>
    </item>
    <item>
      <title>Grape 怎么返回 HTML？</title>
      <description>&lt;p&gt;使用 Grape 写 api 的时候遇到需要返回 html 页面的问题，但是 render 行不通，网上查了挺多，但是依然没有解决&lt;/p&gt;

&lt;p&gt;我其实就想在 rails+grape 的情况下解决 api 接口返回 html 页面的问题。。。。不是叫我重新换框架。。不如语言也换了好了。。。&lt;/p&gt;</description>
      <author>lingxueyu</author>
      <pubDate>Fri, 05 Jun 2015 13:18:52 +0800</pubDate>
      <link>https://ruby-china.org/topics/25899</link>
      <guid>https://ruby-china.org/topics/25899</guid>
    </item>
    <item>
      <title>Ruby 采集数据的时候总是被重置，如何在断点处继续运行</title>
      <description>&lt;p&gt;用 Ruby 采集 AppStore 的应用信息的时候总是被中断，除了手动切换 IP 还有没有其他办法？也许可以把当前出错的 log 记录下来，然后从这个 log 处继续运行？请问有什么库能做 log 的读取和分析么？因为我用的多线程，读 log 这个方法可行么？大概关键字没搜对，谷歌出来的资料太少了&lt;/p&gt;</description>
      <author>lingxueyu</author>
      <pubDate>Sat, 07 Mar 2015 08:50:33 +0800</pubDate>
      <link>https://ruby-china.org/topics/24513</link>
      <guid>https://ruby-china.org/topics/24513</guid>
    </item>
  </channel>
</rss>
