Hi Community,
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
gem =>1.8.2
mysql5.
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
"
development:
adapter: mysql
encoding: utf8
reconnect: false
database: myapp_development
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock
"
gem ''rails'', ''3.0.7''
gem ''mysql2''
#gem ''mysql'', ''2.8.1''
# end
can you please help me ?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.