I’m new to rails. I was trying to install and run a sample ruby on
rails application with database as mysql.
I have followed the steps for the installation. However when I start
the “rails server” I get the below error.
“Could not find gem ‘mysql2 (>= 0)’ in any of the gem sources listed
in your Gemfile.”
I have the below version and application installed.
ruby => 1.8.7
rails => 3.0.7 libraries
My Gemfile looks as below. As per a suggestion in a website I have
tried mysql 2.8.1 and changed in the yaml file still it didnot work
gem ‘rails’, ‘3.0.7’
#gem ‘mysql’, ‘2.8.1’
can you please help me ?