Ruby on Rails Thursday, June 30, 2011

Hi Guys,
Thanks for the replies, but I'm still stuck with "rake
db:migrate" failing. I get a popup window that says that LIBMYSQL.DLL
can't be found and the command line says that c:/ruby192/lib/ruby/gems/
ruby 1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/1.9/mysql_api.so can't be
found (the statement has the Windows slashes backward but I don't know
where that request is coming from in the code and I suspect that it
doesn't matter, anyway). Using the parameter "--trace" shows a lot of
lines but none of them are marked as creating the error. I've
installed MySQL 5.5.13 today from the MySQL.com community site but I
have no evidence that that is being used.
Any suggestions on what is stopping this progress would really be
appreciated!
Barney

On Jun 30, 9:20 am, John Ivanoff <john.ivan...@gmail.com> wrote:
> example yml setting
>
> development:
>   adapter: mysql
>   encoding: utf8
>   reconnect: false
>   database: name_of_database
>   pool: 5
>   username: agoodone
>   password: secret
>   socket: /tmp/mysql.sock
>
> I've always used mysql Gem
>
> > gem install mysql
>
> John
>
> On Jun 30, 7:58 am, John Ivanoff <john.ivan...@gmail.com> wrote:
>
> > I have a posthttp://bit.ly/lNxcB1whereI did a clean install for
> > rails 3 any MySQL. I am also using MySQL 5.1 on Win XP
> > It is a pain to get it going on windows but once you do it run OK.
> > Also on my blog I've posted a few gotcha's I've had with windows and
> > some gems.
>
> > Hope it helps.
>
> > John
>
> > On Jun 30, 2:20 am, Chirag Singhal <chirag.sing...@gmail.com> wrote:
>
> > > Easiest way to get started with Rails on Windows is to use RailsInstaller -http://railsinstaller.org/
>
> > > MySQL 5.1 has issues with Rails on windows, so better use MySQL 5.0, while
> > > installing either choose the option where mysql exe is added to path or copy
> > > libmysql.dll after installation to ruby's bin folder.
>
> > > If this doesn't work, then post the exact error you encounter and we will
> > > take it from there.

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