no such file to load — sqlite3/sqlite3_native

前端 未结 1 1427
遇见更好的自我
遇见更好的自我 2020-12-17 07:13

I am having trouble trying to run the following ruby script on OSX (Leopard).

    require \'sqlite3\'
    database = SQLite3::Database.new( \"new.database\"          


        
相关标签:
1条回答
  • 2020-12-17 07:43

    Fixed it with this commands:

      gem uninstall sqlite3
      gem uninstall sqlite3-ruby
      sudo gem install sqlite3 -- --with-sqlite3-dir=/sw
    

    Ted

    0 讨论(0)
提交回复
热议问题