Ruby on Rails - $ rails server fails because uglifier gem could not be found

前端 未结 7 1799
孤城傲影
孤城傲影 2021-01-06 13:08

I\'m starting my first project on Ruby and the tutorial I\'m following has me using rails. When I try to run $ rails server I get an error that says: Could not

7条回答
  •  感动是毒
    2021-01-06 13:35

    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

提交回复
热议问题