it's not that necessary to use mysql so early if u're just learning RoR. just start a new project without mysql options:
rails new project_name On Tuesday, March 20, 2012 1:54:25 AM UTC-3, Ruby-Forum.com User wrote: > > Hey all, > > I'm trying to learn RoR with absolutely no programming experience > following the ruby on rails essentials tutorial on lynda.com. I'm still > very early in the video series and I created a new project using the > command: > > rails new simple_cms -d mysql > > but when I try to launch the web server, this happens: > C:\Users\j\Sites\simple_cms>rails server > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysql2.rb:2:in > `require': 193: %1 is not a valid Win32 application. - > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so > (LoadError) > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysql2.rb:2:in > `<top (required)>' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2.rb:9:in > `require' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2.rb:9:in > `<top (required)>' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:68:in > `require' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:68:in > `block (2 levels) in require' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:66:in > `each' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:66:in > `block in require' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:55:in > `each' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler/runtime.rb:55:in > `require' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.1/lib/bundler.rb:119:in > `require' > from C:/Users/j/Sites/simple_cms/config/application.rb:7:in > `<top (required)>' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/commands.rb:53:in > `require' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/commands.rb:53:in > `block in <top (required)>' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/commands.rb:50:in > `tap' > from > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/commands.rb:50:in > `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>' > > C:\Users\j\Sites\simple_cms> > > Some version info just in case: > C:\Users\j\Sites\simple_cms>ruby -v > ruby 1.9.3p125 (2012-02-16) [i386-mingw32] > > C:\Users\j\Sites\simple_cms>ruby -v > ruby 1.9.3p125 (2012-02-16) [i386-mingw32] > > C:\Users\j\Sites\simple_cms>mysql --version > mysql Ver 14.14 Distrib 5.5.21, for Win64 (x86) > > I've already searched the web looking for solutions, but none of them > seem to work. Any help would be greatly appreciated, thank you. > > -- > Posted via http://www.ruby-forum.com/. > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b0ecda0b-2531-4b1b-915e-46e11f5c4399%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

