Gem.source_index is deprecated, use Specification. Should I re-install Gem or Rails?

后端 未结 5 444
清歌不尽
清歌不尽 2020-12-02 12:39

I\'m learning RoR on Ubuntu 11. Got the following message when I was trying to generate an app. Did I install something incorrectly?

$ rails generate control         


        
5条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 12:51

    Try this:

    sudo gem update bundler
    

    This will update bundler to most recent version (currently 1.0.15). This will not generate the warning or at least in my case this was the cause of the warning.

提交回复
热议问题