Gem 安装 mechanize 报错

yakczh · January 23, 2015 · Last by ericguo replied at January 25, 2015 · 2215 hits

gem install mechanize --no-ri --no-rdoc

ERROR: While executing gem ... (URI::InvalidURIError) bad URI(is not URI?): http://223.87.29.45:80|801/videoplayer/latest_specs.4.8.gz?ich_u_r_i=3e20cbd4df04c7e3e84ff67885ad3ceb&ich_s_t_a_r_t=0&ich_e_n_d=0&ich_ 9df98a349aa7246b00bd34683e61ab&ich_t_y_p_e=1&ich_d_i_s_k_i_d=2&ich_s_e_q=164369499&ich_u_n_i_t=1

Download 到本地装吧,应该是墙的问题。

gem install ./mechanize-2.7.3.gem
You need to Sign in before reply, if you don't have an account, please Sign up first.