Trouble Getting the Rails Server Started

后端 未结 6 2064
逝去的感伤
逝去的感伤 2021-01-25 23:43

When I run \'rails server\' I get the following error:

Could not find gem \'sqlite3 (>= 0, runtime)\' in any of the gem sources listed in your Gemfile.
         


        
6条回答
  •  萌比男神i
    2021-01-26 00:12

    I'm summing up in a reply. So :

    1) Install macports : http://www.macports.org/install.php - It has a dmg installer, will take 2 minutes.

    2) Once you have it installed, do a 'bundle install' and sqlite3 will be installed as specified in your Gemfile.

提交回复
热议问题