Note that there are some explanatory texts on larger screens.

plurals
  1. POIssue when trying to run WEBrick and Rails
    primarykey
    data
    text
    <p>Going through the Lynda training for Ruby on Rails and got to the point where I am starting the WEBrick sever via the <code>rails s</code> command. I am in the same directory as the video /Users/myuser/Sites/simple_cms </p> <p>I get the following error:</p> <pre>/usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle: dlopen(/usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError) Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle Reason: image not found - /usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle from /usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.2/lib/mysql2.rb:8 from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in `require' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in `require' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in `each' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in `require' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in `each' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in `require' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/bundler.rb:120:in `require' from /Users/myuser/Sites/simple_cms/config/application.rb:7 from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28:in `require' from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28 from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap' from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27 from script/rails:6:in `require' from script/rails:6 </pre> <p>I followed the instructions @ <a href="https://stackoverflow.com/questions/4859505/unable-to-start-rails-server">Unable to start rails server</a><br> Still getting the error. I also followed the directions @ <a href="https://stackoverflow.com/questions/4512362/rails-server-fails-to-start-with-mysql2-using-rvm-ruby-1-9-2-p0-on-osx-10-6-5/5509692#5509692">rails server fails to start with mysql2 using rvm &amp; ruby 1.9.2-p0 on OSX 10.6.5</a><br> Any help would be appreciated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload