Rails - 安装 Spree 时出现问题
我在 Rails 应用程序中安装 Spree 时遇到问题。
当我运行 gem 'spree' 时 (按照 http://spreecommerce.com/documentation/getting_started.html 上的说明)
我收到以下错误:
ERROR: While executing gem ... (RuntimeError) Unknown command spree
我安装了以下 Spree gem:
gem list spree *** LOCAL GEMS *** spree (0.30.1) spree_api (0.30.1) spree_auth (0.30.1) spree_core (0.30.1) spree_dash (0.30.1) spree_promo (0.30.1) spree_sample (0.30.1)
当我安装我使用的 Spree gem 时:
sudo gem install spree
感谢您的帮助。
I'm having a problem installing Spree in a Rails app.
when I run gem 'spree'
(as per the instructions on http://spreecommerce.com/documentation/getting_started.html)
I get the following error:
ERROR: While executing gem ... (RuntimeError) Unknown command spree
I have the following Spree gems installed:
gem list spree *** LOCAL GEMS *** spree (0.30.1) spree_api (0.30.1) spree_auth (0.30.1) spree_core (0.30.1) spree_dash (0.30.1) spree_promo (0.30.1) spree_sample (0.30.1)
when I installed the Spree gem I used:
sudo gem install spree
thanks for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
说明实际上说将
gem 'spree'
添加到您的Gemfile
(而不是将其作为命令执行):The instructions actually say to add
gem 'spree'
to yourGemfile
(and not execute it as a command):Spree gem 安装说明:https://gist.github.com/kany/6334724
Spree gem install instructions: https://gist.github.com/kany/6334724