I just started learning Ruby on Rails with my mac and I'm stuck. I'm using PostgreSQL as my database, and of course, the gem 'pg'.
When I bundle install
or I try to create a controller it gives me lots of syntax errors. However, if I delete that gem from my gemfile, I get no syntax errors.
I used to have that gem as gem 'pg'
with fancy quotes and it gave me an error related only to that line. Something like
can't find gem pg
I've been searching questions related here, but none of them showed me an answer, even though I tried everything I saw. I also asked a guy who works with RoR and he told me to change the quotes' shape (from fancy to normal), which lead to the error I have shown you.