我在开发机器上安装AppFog客户端Ruby Gem的时间很困难。特别是需要的tunnel
能力。使用Ruby 2.0.0在Windows x64上安装AppFog客户端
这是我迄今所做的,
- RubyInstaller安装Ruby 2.0的x64(我的电脑上唯一的一个,我一直没有真正使用红宝石前)
gem update --system
gem install af
该工程确定为af login
等
- 安装了RubyInstaller的devkit
- 从GitHub克隆
eventmachine
和patched and installed as described here gem install caldecott --platform=ruby
这一切工作正常,没有从宝石系统的投诉,但是现在,当我运行AppFog客户我仍然得到,
C:\Ruby200-x64\bin>gem install caldecott --platform=ruby Successfully installed caldecott-0.0.5 Parsing documentation for caldecott-0.0.5 1 gem installed
C:\Ruby200-x64\bin>af tunnel [WARNING] DL is deprecated, please use Fiddle To use `af tunnel', you must first install Caldecott:
gem install caldecott
Note that you'll need a C compiler. If you're on OS X, Xcode will provide one. If you're on Windows, try DevKit.
This manual step will be removed in the future.
Error: Caldecott is not installed.
C:\Ruby200-x64\bin>
即安装不识别caldecott
。我究竟做错了什么?
事实证明,尽管'eventmachine'编译和使用上述方法安装的,它仍然没有导入到Ruby代码时运行。因此,我对整个Ruby 2.0.0进行了安装,并安装了Ruby 1.9.3 33bit(?)。这工作得很好,安装了eventmachine,Caldecott也一样。我将这里的问题留给那些真的必须在Windows上使用Ruby 2.0.0的人... – Brendan 2013-05-01 21:06:38