Rake Gems 安装错误
我在尝试安装 gems 时收到以下错误:
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$ sudo rake gems:install
Password:
(in /Projects/awesomecats)
rake aborted!
Don't know how to build task 'gems:install'
(See full trace by running task with --trace)
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$
I am getting the following error when trying to install gems:
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$ sudo rake gems:install
Password:
(in /Projects/awesomecats)
rake aborted!
Don't know how to build task 'gems:install'
(See full trace by running task with --trace)
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果该任务未在
rake -T
的输出中列出,则该任务未定义,您无法运行它。Rails 3 删除了此任务,转而使用
Gemfile
和 bundler 作为官方 gem 安装过程,如gems:安装通常很难正常工作。
If the task isn't listed in the output of
rake -T
then it isn't defined and you can't run it.Rails 3 removed this task in favor of using
Gemfile
and bundler as the official gem installation procedure asgems:install
was often tricky to get working properly.