Reputation: 97
Hi i want to migrate my ruby app from sqlite3 to Pg so i changed my gemfile file to something like that :
# Use postgres as the database for Active Record
gem ‘pg’
I changes my database.yml too but I still get an error when i try to run bundle install or rack db:create : Undefined local variable or method `‘pg’' for Gemfile
Upvotes: 0
Views: 690
Reputation: 106882
change it to:
gem 'pg'
Strings must be surrounded with '
or "
, but not with ‘
and ’
.
Upvotes: 1