我尝试在 Mac 上使用 Rails 1.9.2 安装 Spree - 我收到一条错误消息

发布于 2024-10-10 05:24:05 字数 471 浏览 0 评论 0原文

我正在按照 this 上的教程在 Mac OSX 上本地安装 Spree(基于 Ruby 的电子商务包)页面

我正在使用 RVM 运行 Ruby 1.9.2 和 Rails 3.0.3。我成功运行“gem install spree”来加载 spree 版本 0.40。但是当我运行“Gem Install Spree”时,我收到以下消息。有人可以帮忙吗?

/Library/Ruby/Site/1.8/rubygems.rb:335:in `bin_path': can't find executable spree for spree-0.40.0 (Gem::Exception)
 from /usr/bin/spree:19

另外,当我运行“宝石列表狂欢”时,我得到一个空列表。

I'm doing a local install on Mac OSX of Spree (a Ruby-based ecommerce package) following the tutorial on this page.

I'm using RVM to run Ruby 1.9.2 and rails 3.0.3. I run "gem install spree" successfully to load spree version 0.40. But when I run "Gem Install Spree" I get the following message. Can anyone help?

/Library/Ruby/Site/1.8/rubygems.rb:335:in `bin_path': can't find executable spree for spree-0.40.0 (Gem::Exception)
 from /usr/bin/spree:19

Also, when I run "Gem list spree" I get an empty list.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谜兔 2024-10-17 05:24:05

第一:不知道为什么你要大写命令,但没有必要
第二:你的错误指向1.8。确保运行:

$ rvm use 1.9.2

您可以在项目目录中创建一个 .rvmrc 文件以始终包含正确的环境

echo "rvm 1.9.2" > .rvmrc

First: Not sure why you are capitalizing the commands but it's not necessary
Second: your error is pointing to 1.8. Make sure you run:

$ rvm use 1.9.2

You can create a .rvmrc file in the directory of the project to always contain the correct environment

echo "rvm 1.9.2" > .rvmrc
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文