李威 さぽている

          小說(shuō)翻譯,日語(yǔ)相關(guān)轉(zhuǎn)移至http://blog.hjenglish.com/liwei

          heroku安裝問(wèn)題

          試用了下heroku,結(jié)果安裝時(shí)就出問(wèn)題了
          windows環(huán)境,按照http://docs.heroku.com/windows 裝了msysgit1.8.6 one click ruby installer

          D:\Ruby>gem install heroku
          ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
              timed out (http://gems.rubyforge.org/gems/json_pure-1.2.0.gem)

          大概是網(wǎng)絡(luò)不行,于是下載后本地安裝

          D:\Ruby>gem install "C:\Documents and Settings\wli\My Documents\Downloa
          ds\heroku-1.8.0.gem"
          ERROR:  While executing gem ... (URI::InvalidURIError)
              bad URI(is not URI?): C:/Documents and Settings/wli/My Documents/Do
          wnloads/heroku-1.8.0.gem

          不行
          D:\Ruby>gem install C:\Documents and Settings\wli\My Documents\Download
          s\heroku-1.8.0.gem
          ERROR:  could not find gem C:\Documents locally or in a repository
          ERROR:  could not find gem and locally or in a repository
          ERROR:  While executing gem ... (RegexpError)
              Invalid escape character syntax: /\ASettings\wli\My\Z/

          還是不行,猜測(cè)是路徑空格的問(wèn)題
          D:\Ruby>gem install E:/json_pure-1.2.0.gem
          Successfully installed json_pure-1.2.0
          1 gem installed
          Installing ri documentation for json_pure-1.2.0...
          Installing RDoc documentation for json_pure-1.2.0...

          OK,成功
          如此
          D:\Ruby>gem install E:/heroku-1.8.0.gem
          Successfully installed heroku-1.8.0
          1 gem installed
          Installing ri documentation for heroku-1.8.0...
          Installing RDoc documentation for heroku-1.8.0...

          posted on 2010-02-20 12:50 李威 閱讀(702) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 泌阳县| 琼结县| 鲜城| 绿春县| 舞阳县| 蓬安县| 新蔡县| 汾西县| 连平县| 城步| 山东省| 和顺县| 巴塘县| 宁夏| 嘉善县| 托里县| 延吉市| 南平市| 桃江县| 富宁县| 荣昌县| 长丰县| 句容市| 建平县| 张北县| 黄龙县| 三穗县| 瑞昌市| 红桥区| 得荣县| 定兴县| 紫阳县| 清苑县| 高安市| 喀什市| 太仓市| 叙永县| 宜良县| 志丹县| 天峻县| 海城市|