久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='EXGXb'></small><noframes id='EXGXb'>

  • <legend id='EXGXb'><style id='EXGXb'><dir id='EXGXb'><q id='EXGXb'></q></dir></style></legend>

  • <i id='EXGXb'><tr id='EXGXb'><dt id='EXGXb'><q id='EXGXb'><span id='EXGXb'><b id='EXGXb'><form id='EXGXb'><ins id='EXGXb'></ins><ul id='EXGXb'></ul><sub id='EXGXb'></sub></form><legend id='EXGXb'></legend><bdo id='EXGXb'><pre id='EXGXb'><center id='EXGXb'></center></pre></bdo></b><th id='EXGXb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='EXGXb'><tfoot id='EXGXb'></tfoot><dl id='EXGXb'><fieldset id='EXGXb'></fieldset></dl></div>

        • <bdo id='EXGXb'></bdo><ul id='EXGXb'></ul>
        <tfoot id='EXGXb'></tfoot>
      1. 庫未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運(yùn)行“

        Library not loaded: libmysqlclient.16.dylib error when trying to run #39;rails server#39; on OS X 10.6 with mysql2 gem(庫未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運(yùn)行“rails server時(shí)出現(xiàn) libmysqlclient.16.dylib 錯(cuò)誤) - IT屋
        <i id='ZA63M'><tr id='ZA63M'><dt id='ZA63M'><q id='ZA63M'><span id='ZA63M'><b id='ZA63M'><form id='ZA63M'><ins id='ZA63M'></ins><ul id='ZA63M'></ul><sub id='ZA63M'></sub></form><legend id='ZA63M'></legend><bdo id='ZA63M'><pre id='ZA63M'><center id='ZA63M'></center></pre></bdo></b><th id='ZA63M'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZA63M'><tfoot id='ZA63M'></tfoot><dl id='ZA63M'><fieldset id='ZA63M'></fieldset></dl></div>

      2. <legend id='ZA63M'><style id='ZA63M'><dir id='ZA63M'><q id='ZA63M'></q></dir></style></legend>

            <tfoot id='ZA63M'></tfoot>
            1. <small id='ZA63M'></small><noframes id='ZA63M'>

              • <bdo id='ZA63M'></bdo><ul id='ZA63M'></ul>
                  <tbody id='ZA63M'></tbody>

                  本文介紹了庫未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運(yùn)行“rails server"時(shí)出現(xiàn) libmysqlclient.16.dylib 錯(cuò)誤的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我已經(jīng)為此苦苦掙扎了一段時(shí)間.

                  I've been struggling with this for some time.

                  我已經(jīng)在我的 Snow Leopard 機(jī)器上安裝了 Rails 3、gem、mysql.一切都很順利,直到我創(chuàng)建了我的第一個(gè)項(xiàng)目并嘗試運(yùn)行

                  I've installed Rails 3, gem, mysql on my Snow Leopard machine. All was going well until I created my first project and tried to run

                  rails server
                  

                  運(yùn)行后我得到:

                  jontybrook$ rails server
                  /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.16.dylib (LoadError)
                    Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
                    Reason: image not found - /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
                      from /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2.rb:7
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `each'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `require'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `each'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `require'
                      from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:112:in `require'
                      from /Users/jontybrook/Dropbox/CODING/simple_cms/config/application.rb:7
                      from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:28:in `require'
                      from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:28
                      from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:27:in `tap'
                      from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:27
                      from script/rails:6:in `require'
                      from script/rails:6
                  jontybrook$ 
                  

                  據(jù)我所知,問題出在 mysql2 gem 上.MySQL 似乎運(yùn)行良好,我的 Gemfile 引用了 mysql2,我的 database.yml 文件似乎也正常.

                  As far as I can tell the problem is with the mysql2 gem. MySQL seems to be running fine and my Gemfile references mysql2, my database.yml file seems ok also.

                  錯(cuò)誤提到

                  Reason: image not found - /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
                  

                  還有

                  jontybrook$ cd /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2
                  jontybrook$ ls
                  client.rb   em.rb       error.rb      mysql2.bundle result.rb
                  

                  MySQL2.bundle 有沒有!?

                  MySQL2.bundle is there!?

                  如果我使用舊的 mysql gem,WEBrick 啟動(dòng)正常.但這并不理想,不是嗎?

                  If I use the old mysql gem, WEBrick boots fine. But that's not ideal, is it?

                  我已經(jīng)嘗試了谷歌能給我的一切!非常感謝任何幫助.

                  I've tried everything google can give me! Any help much appreciated.

                  推薦答案

                  我從來沒能得到這些答案中的任何一個(gè)對我有用,但這是我用來讓它對我有用的命令.這樣你就不需要每次更新你的mysql時(shí)都使用 install_name_tool

                  I was never able to get any of these answers to work for me, but this is the command that I used to make it work for me. This way you don't need to use install_name_tool every time you update your mysql

                  sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
                  

                  這篇關(guān)于庫未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運(yùn)行“rails server"時(shí)出現(xiàn) libmysqlclient.16.dylib 錯(cuò)誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Dropping MySQL table with SparkSQL(使用 SparkSQL 刪除 MySQL 表)
                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個(gè)先前值來決定接下來的 N 個(gè)行)
                  Spark SQL/Hive Query Takes Forever With Join(Spark SQL/Hive 查詢永遠(yuǎn)需要加入)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個(gè)事務(wù)還是只是有問題的行?) - IT屋-程序員軟件開發(fā)技
                  No suitable driver found for jdbc in Spark(在 Spark 中找不到適合 jdbc 的驅(qū)動(dòng)程序)
                  • <small id='0b04k'></small><noframes id='0b04k'>

                      <tbody id='0b04k'></tbody>

                  • <tfoot id='0b04k'></tfoot>

                      • <i id='0b04k'><tr id='0b04k'><dt id='0b04k'><q id='0b04k'><span id='0b04k'><b id='0b04k'><form id='0b04k'><ins id='0b04k'></ins><ul id='0b04k'></ul><sub id='0b04k'></sub></form><legend id='0b04k'></legend><bdo id='0b04k'><pre id='0b04k'><center id='0b04k'></center></pre></bdo></b><th id='0b04k'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0b04k'><tfoot id='0b04k'></tfoot><dl id='0b04k'><fieldset id='0b04k'></fieldset></dl></div>

                          <legend id='0b04k'><style id='0b04k'><dir id='0b04k'><q id='0b04k'></q></dir></style></legend>
                            <bdo id='0b04k'></bdo><ul id='0b04k'></ul>
                            主站蜘蛛池模板: 不卡一区二区在线观看 | 久久国产一区二区 | 男人的天堂在线视频 | 午夜在线视频 | 免费v片| 日本一区二区高清不卡 | 国产精品一区二区欧美黑人喷潮水 | 巨大黑人极品videos精品 | 蜜桃视频在线观看免费视频网站www | 国产一区免费 | 天天操天天射综合网 | 夜夜骚| 久久国产成人精品国产成人亚洲 | 久久久久久久99 | 国产高潮好爽受不了了夜色 | 欧美精品久久一区 | 91久久伊人 | 天天干天天操 | 国产91在线 | 亚洲 | 日韩一级黄色片 | 日韩成人免费视频 | 中文在线视频观看 | 久久精品一级 | 日本精品视频一区二区 | 欧美另类视频在线 | eeuss国产一区二区三区四区 | 高清视频一区二区三区 | 国产精品久久久久久久免费观看 | 久久九 | 成人久久久 | 国产亚洲欧美日韩精品一区二区三区 | 永久精品 | 在线中文一区 | 欧美日韩一区二区三区四区 | 精品久久一区 | 成人av一区二区三区 | 亚洲美女天堂网 | h视频在线免费 | 久久久久久久久久久久久9999 | 福利精品在线观看 | 精品粉嫩aⅴ一区二区三区四区 |