折腾weibo开放平台

看新浪微博开放平台指南:http://open.weibo.com/wiki/%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B%E6%8A%80%E6%9C%AF%E8%A7%84%E8%8C%83%E4%B8%8E%E6%8C%87%E5%8D%97#.E7.94.B3.E8.AF.B7APPKEY

折腾github下载ruby的SDK

去http://rubyinstaller.org/downloads下载Devkit,了解了下这个东东是做嘛用的。https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

按照指导中说的,运行gem install rdiscount --platform=ruby,还是遇到错误。

然后一顿折腾,在http://bbs.csdn.net/topics/380035447找到了原因,被墙了(刚在linkedin上看到开复李说他又回来了)。

后面直接不管,继续

 1 C:\>gem install weibo_2
 2 Temporarily enhancing PATH to include DevKit...
 3 Building native extensions.  This could take a while...
 4 Fetching: rest-client-1.6.7.gem (100%)
 5 Fetching: weibo_2-0.1.1.gem (100%)
 6 Successfully installed json-1.7.7
 7 Successfully installed rest-client-1.6.7
 8 Successfully installed weibo_2-0.1.1
 9 3 gems installed
10 Installing ri documentation for json-1.7.7...
11 Installing ri documentation for rest-client-1.6.7...
12 unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
13 for README.rdoc, skipping
14 Installing ri documentation for weibo_2-0.1.1...
15 Installing RDoc documentation for json-1.7.7...
16 Installing RDoc documentation for rest-client-1.6.7...
17 unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
18 for README.rdoc, skipping
19 Installing RDoc documentation for weibo_2-0.1.1...

gem list --local检查一遍,OK。时间不早了,剩下的明天再折腾吧。

posted @ 2013-02-24 22:51  Vman  Views(555)  Comments(0Edit  收藏  举报