李威 さぽている

小说翻译,日语相关转移至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 李威 阅读(695) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: