李威 さぽている

          小說翻譯,日語相關轉移至http://blog.hjenglish.com/liwei

          heroku安裝問題

          試用了下heroku,結果安裝時就出問題了
          windows環境,按照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)

          大概是網絡不行,于是下載后本地安裝

          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/

          還是不行,猜測是路徑空格的問題
          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 李威 閱讀(697) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 贡山| 珲春市| 黑山县| 景宁| 浮山县| 沭阳县| 福鼎市| 瑞安市| 淄博市| 枞阳县| 盐山县| 东光县| 武冈市| 眉山市| 库伦旗| 类乌齐县| 沙坪坝区| 体育| 天峻县| 肥东县| 日土县| 武平县| 勐海县| 香河县| 密山市| 湖南省| 隆回县| 阿坝县| 寿阳县| 五大连池市| 碌曲县| 孟连| 贵德县| 和静县| 五家渠市| 黄龙县| 布拖县| 章丘市| 库伦旗| 台湾省| 浦县|