简体   繁体   中英

Rake Gems Install Error

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$ 

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 as gems:install was often tricky to get working properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM