简体   繁体   中英

Ruby on rails: rubygem error

I having a problem:

$ rake db:create
(in /Users/devinross14/myapp)
rake aborted!
RubyGem version error: rake-compiler(0.6.0 not ~> 0.5.0)

(See full trace by running task with --trace)

How do I fix this?

For whatever version, you need version 0.5 or lower of rake-compiler, and you currently have version 0.6.0. When installing gems, you can specify the version.

sudo gem install rake-compiler -v "=0.5.0"

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