@paulgureghian posted a new topic, subject "Trying to add 'rspec'". It read:

   Trying to add ‘rspec' to my ROR app and getting this error:
    
    Rspec1345×800 56.3 KB
    
    Rspec11280×800 28.1 KB

To which @factoradic replied

    Hello 
    
    Take a look at the documentation -> https://bundler.io/man/gemfile.5.html#GEMS:
    
    > For each gem requirement, list a single _gem_ line.
    
    In the line you marked you try to specify requirement for two gems (`rspec-rails` & `byebug`) in a single line. You need to split this line into two lines:
    [code] 
        gem 'rspec-rails' {optional version specifier, platform specifier, etc.}
        gem 'byebug' {optional version specifier, platform specifier, etc.}
        
    [/code]

After which, @paulgureghian added

    Yup. got it fixed. thanks. then I had to update Yarn and it worked.


{'source': 'discourse', 'url': 'https://discuss.codecademy.com/t/trying-to-add-rspec/504121', 'title': "Trying to add 'rspec'", 'views': 594, 'has_accepted_answer': False, 'word_count': 108, 'like_count': 1, 'reply_count': 1, 'participant_count': 2, 'posts': 3, 'tags': 'general', 'author': '@paulgureghian', 'participants': '@paulgureghian, @factoradic', 'image_url': ['https://global.discourse-cdn.com/codecademy/optimized/5X/5/0/f/b/50fbb7a79cbfe037b4b1d3966a20361698f09ee2_2_1024x609.png'], 'created_at': '2020-06-11T22:40:35.505Z', 'last_posted_at': '2020-06-11T23:24:32.307Z'}