且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Ruby on Rails - $ rails服务器失败,因为找不到uglifier gem

更新时间:2023-11-28 08:48:46


  1. 找到您的Gemfile {C:\Users [your name] \Desktop\sample_app}

  2. 在第1行中,将https更改为http {source' http://rubygems.org '}

  3. 在Gemfile中保存更改

  4. 在你的Gitbash中,输入bundle install和按Enter键

  1. Locate your Gemfile {C:\Users[your name]\Desktop\sample_app}
  2. In line 1, change https to http {source 'http://rubygems.org'}
  3. Save changes in Gemfile
  4. In your Gitbash, type "bundle install" and hit Enter