Hi, - first check MySQL console, - then 'gem list m' - you can see here every gem listed starts with letter 'm' (or simply 'gem list') - then what other wrote here 'irb -r active_record'.
If your Euby, Gem, Rails installed well, you have the necessary gems (see in gem list), then you can edit your Gemfile, then run bundle install, then edit .yaml. I think just give a try, you cannot loose much in early stage. Good luck, gezope n dec. 22, 08:29, Anandh Kumar <[email protected]> wrote: > Hi everyone, > > Can someone suggest me is there any way in RoR to check for the database > connection without using database.yml. > > I need this because before editing database.yml file i want to check > whether mysql is installed in the given host. > > Any help would be greatly appreciated. > > -- > Posted viahttp://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

