Ruby on Rails Saturday, December 25, 2010

Hi,


By default Rails will work well with embeded sqlite3 database.

so simple run
bundle install
it will solve your problem.

In case you want to work with mysql. You need to add "gem mysql" in the Gemfile. And then run "bundle install"
Also you may need to change the database config file.

Thanks!
Butu

On Sat, Dec 25, 2010 at 2:17 PM, chinmaya joshi <jchinu2014@gmail.com> wrote:
I have installed Ruby 1.8.7 and rails 3.0.3 on ubuntu 10.04.
i am following the steps given in the book 'Agile web development with rails' and i am new to the world of ruby on rails.

just after entire installation i have created a rails application called 'demo'

however when i enter the command ........ruby script/server     i get the following error:
Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
Try running `bundle install`.


I have already installed mysql database.


Thanks,
Chinmaya Joshi


--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment