Ruby on Rails Tuesday, January 3, 2012

On Tue, Jan 3, 2012 at 12:29 PM, Libber <amarnath.alapati@gmail.com> wrote:
@ Peter,
       In my rails project directory, where should I search for gemfile, gemfile.lock? can you explain ?

Sorry, I had not seen you are using the older Rails version 2.2.3  .... There is no Gemfile and Gemfile.lock
there by default.


while Installing RoR,  I have to sqlite3, and then link this to RoR using sqlite3-ruby. So, The first step is fine...second gives me this error!. 

Is there any way I can use some other database software other than sqlite3 and get rid of the error( and hope to get no more errors)

You could use 

  gem 'mysql2', '~>0.3.10' # Ubuntu : libmysql-ruby1.9.1 libmysqlclient-dev
  gem 'pg' # Ubuntu : libpq-dev

but those will have other set-up issue that you need to handle.

Peter

--
Peter Vandenabeele
http://twitter.com/peter_v

--
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