rails s
/usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require':
cannot load such file -- mysql2/mysql2 (LoadError)
     from /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `<top
(required)>'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in
`require'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in
`block (2 levels) in require'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in
`block in require'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
     from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in
`require'
     from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler.rb:132:in
`require'
     from /home/Harish/Documents/simple_cms/config/application.rb:7:in `<top
(required)>'
     from
/usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:76:in
`require'
     from
/usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:76:in
`block in <top (required)>'
     from
/usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
     from
/usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top
(required)>'
     from bin/rails:4:in `require'
     from bin/rails:4:in `<main>'

--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d1aa9d69-4ff6-4ee1-a161-217b1d71aaed%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dheeraj Kumar at Aug 12, 2013 at 6:43 am
    Have you installed mysql libraries?

    --
    Dheeraj Kumar

    On Friday 9 August 2013 at 9:17 PM, Harish Vishnu wrote:

    rails s
    /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require': cannot load such file -- mysql2/mysql2 (LoadError)
    from /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `<top (required)>'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `block in require'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
    from /usr/local/share/gems/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
    from /home/Harish/Documents/simple_cms/config/application.rb:7:in `<top (required)>'
    from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:76:in `require'
    from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:76:in `block in <top (required)>'
    from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
    from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'

    --
    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-talk+unsubscribe@googlegroups.com (mailto:rubyonrails-talk+unsubscribe@googlegroups.com).
    To post to this group, send email to rubyonrails-talk@googlegroups.com (mailto:rubyonrails-talk@googlegroups.com).
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d1aa9d69-4ff6-4ee1-a161-217b1d71aaed%40googlegroups.com?hl=en-US.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8285D405C36D45CFA5F51D89904FDBB9%40gmail.com?hl=en-US.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Colin Law at Aug 12, 2013 at 7:43 am

    On 9 August 2013 16:47, Harish Vishnu wrote:
    rails s
    /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require':
    cannot load such file -- mysql2/mysql2 (LoadError)
    If you look in the lib folder mentioned above is there a subdirectory
    mysql2 containing mysql2.so?
    If not then I suspect your mysql2 gem has not installed correctly.

    Colin

    --
    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-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvvHpqJPoCbs1vrpzhvsh-%2BXfhJ21j%3Dy67OWoS7eJgvHA%40mail.gmail.com?hl=en-US.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedAug 12, '13 at 6:00a
activeAug 12, '13 at 7:43a
posts3
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase