【发布时间】:2010-09-08 20:41:45
【问题描述】:
我正在尝试在 2.3.4 Rails 应用程序中使用捆绑程序,但遇到了 win32-service gem 的问题。通过发出gem install win32-service --platform mswin32 安装了gem。我将它安装在 bundler 之外,因为 bundler 总是尝试从源代码编译,但失败得很惨。
gem list的输出
win32-service (0.7.1 x86-mswin32-60)
bundle install 的输出
Your Gemfile doesn't have any sources. You can add one with a line like 'source :gemcutter'
Could not find gem 'win32-service (>= 0, runtime)' in any of the gem sources.
我尝试使用 source :gemcutter 但如上所述捆绑器尝试使用未构建的源包。
我也尝试过使用旧版本的 gem (0.5.1) 并且遇到了同样的问题。
有什么想法吗?
【问题讨论】:
标签: ruby-on-rails rubygems bundler