Re: Problem on running rails

Mauricio Voto
Tue, 02 Feb 2010 12:29:42 -0000

Just to remember, on windows, mysql and rails 2.2 has a conflict:

http://www.sapphiresteel.com/Rails-2-2-and-MySQL-Problems

See ya !

On 2 fev, 10:04, kannav rajeev
<rajeevsharm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> then error ? print that here...
>
> On Tue, Feb 2, 2010 at 5:27 PM, kannav rajeev
<rajeevsharm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > you may use instant rails
>
> > On Tue, Feb 2, 2010 at 5:26 PM, kannav rajeev
<rajeevsharm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> dll is in the mysql bin or lib folder just copy and paste it in
yours ruby /bin
>
> >> On Tue, Feb 2, 2010 at 5:24 PM, mohit srivastava
> >> <mohit.vast...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> >>> Hi
> >>> Yes i am using window
> >>> Please provide me the dll file
> >>> and what the step i need to configure  this driver with ruby
> >>> Thanks for your help
> >>> Mohit Srivastava
> >>> On Tue, Feb 2, 2010 at 5:16 PM, Dhruva Sagar
<dhruva.sa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> >>>> Are you using windows ?
> >>>> For windows there is a problem with the mysql driver, you
will have to
> >>>> google and find the right libmySQL.dll file and replace it
in the ruby
> >>>> installation in ruby\bin folder.
> >>>> If this is your problem then I could give you the dll
file.
>
> >>>> Thanks & Regards,
> >>>> Dhruva Sagar.
>
> >>>> On Tue, Feb 2, 2010 at 5:09 PM, mohit srivastava
<mohit.vast...@gmail.com>
> >>>> wrote:
>
> >>>>> Hi  Dhruva
> >>>>> Thanks for reply
> >>>>> I have installed using command
> >>>>> gem install mysql
>
> >>>>> but i am still facing the problem
>
> >>>>> On Tue, Feb 2, 2010 at 4:39 PM, Dhruva Sagar
<dhruva.sa...-Re5JQEeQqe8@public.gmane.orgm>
> >>>>> wrote:
>
> >>>>>> I think you''ve not installed the mysql
gem yet.
>
> >>>>>> Thanks & Regards,
> >>>>>> Dhruva Sagar.
>
> >>>>>> On Tue, Feb 2, 2010 at 3:07 PM, mohit
<mohit.vast...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> >>>>>>> Hi All
> >>>>>>> I am facing the problem on running rails
> >>>>>>> I found devlopment  with following error
>
> >>>>>>> /!\ FAILSAFE /!\  Tue Feb 02 14:52:32 +0530
2010
> >>>>>>>  Status: 500 Internal Server Error
> >>>>>>>  no such file to load -- mysql
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 31:in `gem_original_require''
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 31:in `require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:156:in
`require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:521:in
`new_constants_in''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:156:in
`require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>>
active_support/core_ext/kernel/requires.rb:7:in
> >>>>>>> `require_library_or_gem''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>>
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>>
active_support/core_ext/kernel/requires.rb:5:in
> >>>>>>> `require_library_or_gem''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/mysql_adapter.rb:61:in
> >>>>>>> `mysql_connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:223:in
> >>>>>>> `send''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:223:in
> >>>>>>> `new_connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:245:in
> >>>>>>> `checkout_new_connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:188:in
> >>>>>>> `checkout''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:184:in
> >>>>>>> `loop''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:184:in
> >>>>>>> `checkout''
> >>>>>>>    C:/RubyInst/lib/ruby/1.8/monitor.rb:242:in
`synchronize''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:183:in
> >>>>>>> `checkout''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:98:in
> >>>>>>> `connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:326:in
> >>>>>>> `retrieve_connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_specification.rb:
> >>>>>>> 123:in `retrieve_connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_specification.rb:
> >>>>>>> 115:in `connection''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>> active_record/query_cache.rb:9:in
`cache''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>> active_record/query_cache.rb:28:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
> >>>>>>>
active_record/connection_adapters/abstract/connection_pool.rb:361:in
> >>>>>>> `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/string_coercion.rb:25:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:
> >>>>>>> 9:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
> >>>>>>> methodoverride.rb:24:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/params_parser.rb:15:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>>
action_controller/session/cookie_store.rb:93:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/failsafe.rb:26:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> >>>>>>> 11:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> >>>>>>> 11:in `synchronize''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> >>>>>>> 11:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/dispatcher.rb:114:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/reloader.rb:34:in
`run''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
> >>>>>>> action_controller/dispatcher.rb:108:in
`call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/
> >>>>>>> static.rb:31:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
> >>>>>>> 46:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
> >>>>>>> 40:in `each''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
> >>>>>>> 40:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/
> >>>>>>> log_tailer.rb:17:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
> >>>>>>> content_length.rb:13:in `call''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
> >>>>>>> webrick.rb:50:in `service''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:162:in `start''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:95:in `start''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:92:in `each''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:92:in `start''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:23:in `start''
> >>>>>>>
 C:/RubyInst/lib/ruby/1.8/webrick/server.rb:82:in `start''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
> >>>>>>> webrick.rb:14:in `run''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
> >>>>>>> server.rb:111
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 31:in `gem_original_require''
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 31:in `require''
> >>>>>>>    script/server:3
> >>>>>>> /!\ FAILSAFE /!\  Tue Feb 02 14:58:32 +0530
2010
> >>>>>>>  Status: 500 Internal Server Error
> >>>>>>>  126: The specified module could not be found.
  - C:/RubyInst/lib/
> >>>>>>>
ruby/gems/1.8/gems/mysql-2.8.1-x86-mingw32/lib/1.8/mysql_api.so
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/mysql-2.8.1-x86-mingw32/lib/1.8/
> >>>>>>> mysql_api.so
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 31:in `require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:156:in
`require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:521:in
`new_constants_in''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> >>>>>>> active_support/dependencies.rb:156:in
`require''
> >>>>>>>
 C:/RubyInst/lib/ruby/gems/1.8/gems/mysql-2.8.1-x86-mingw32/lib/
> >>>>>>> mysql.rb:7
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 36:in `gem_original_require''
> >>>>>>>
 C:/RubyInst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> >>>>>>> 36:in `require''
> >>>>>>>
>
> ...
>
> mais »

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.