简体   繁体   中英

RoR rspec error message

Web development newbie here. Today's the first time I got my hands on rspec and it's giving me some confusing error messages. Everything was working fine until I closed down the RoR command line to take a break. When I came back it began giving me errors as shown in the image link below.

http://i.imgur.com/EzUYUsB.jpg

I've reinstalled the bundle and the rspec gem to no avail. Any help would be appreciated.

The error you are getting is a syntax error from Ruby, not from Rspec. Run ruby -c app/controllers/static_pages_controller.rb to see what the syntax error is (in particular, it looks like you have an extra end , or a missing end in the file.

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