Unable to connect Mysql2 or Sqlite3 on windows

15 views
Skip to first unread message

Alexandre Alves

unread,
Aug 7, 2013, 4:09:05 PM8/7/13
to rubyonra...@googlegroups.com
Hi every body.
I would like to know if this problem is occurs only with me?
I was unable to get Mysql2 ou Sqlite3 working with Ruby and rails.
-ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
-Rails 4.0.0.
I tried several  tutorials but no one work for me.

See same examples, for sqlite3:
https://github.com/luislavena/sqlite3-ruby/issues/82
http://stackoverflow.com/questions/15480381/how-do-i-install-sqlite3-for-ruby-on-windows
And many others.
I can install de gems but When a run the app it´s simple crash.

For mysql
http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

Anyone has a simple way to install the database?

Tks.



Dheeraj Kumar

unread,
Aug 9, 2013, 6:39:27 AM8/9/13
to rubyonra...@googlegroups.com
Getting good support for rails in windows is difficult. Why don't you switch to Ubuntu or OSX?

-- 
Dheeraj Kumar

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/16c6f107-f7a2-4b97-99f4-46e34e8442d7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Colin Law

unread,
Aug 9, 2013, 10:39:22 AM8/9/13
to rubyonra...@googlegroups.com
On 7 August 2013 21:09, Alexandre Alves <ale.a...@gmail.com> wrote:
> Hi every body.
> I would like to know if this problem is occurs only with me?
> I was unable to get Mysql2 ou Sqlite3 working with Ruby and rails.
> -ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
> -Rails 4.0.0.
> I tried several tutorials but no one work for me.
>
> See same examples, for sqlite3:
> https://github.com/luislavena/sqlite3-ruby/issues/82
> http://stackoverflow.com/questions/15480381/how-do-i-install-sqlite3-for-ruby-on-windows
> And many others.
> I can install de gems but When a run the app it´s simple crash.

What do you mean by simple crash? Is there not an error message of some sort?

I agree with Dheeraj though, much better to use a Linux distribution
such as Ubuntu. Run it in a virtual machine in Windoze or set your PC
up to dual boot Win and Ubuntu.

Colin
Reply all
Reply to author
Forward
0 new messages