简体   繁体   中英

How Do You Install Missing sass-rails gem?

Hi new to stackoverflow and Ruby on Rails in general. I'm following the Kevin Skoglund Ruby on Rails 3 Essential Training online tutorial and I'm having trouble starting out. I'm trying to boot WEBrick but each time I try I get this error:

C:\\Users\\Matt\\Documents\\Sites\\simple_cms>rails server Could not find gem 'sass-rails (~> 5.0) x86-mingw32' in any of the gem sources l isted in your Gemfile or installed on this machine. Run bundle install to install missing gems.

What do I do to install this missing sass-rails gem, so I can boot WEBrick?

You can certainly run bundle install in your terminal, or command line, as the output suggests.

$ bundle install

If that fails, run:

$ gem install bundler
$ bundle install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM