ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead

后端 未结 10 716
无人及你
无人及你 2020-12-04 17:59

Seems the last post for this problem was closed for one reason or another so I\'ll try my luck...

I\'m trying to run a simple \"rake db:migrate\" command. When I do,

10条回答
  •  醉梦人生
    2020-12-04 18:37

    Oh my god, I was figting with this for almost hour and finally here is my case (may help someone :) ): I got myself multiple rails versions installed so I just uninstalled the latest one as I want to use the most edgy one (the 4.0.1 for now)

    so :

    $ gem uninstall rails
    

    and I got this:

    Select gem to uninstall:
     1. rails-0.9.5
     2. rails-4.0.0
     3. rails-4.0.1
     4. All versions
    >
    

    so I selected first two and that was it :) now everything is OK hope this helps someone who got mysteriously stuck as me :(

提交回复
热议问题