Snow Leopard & Ruby on Rails - SQLite3 issue

前端 未结 9 676
难免孤独
难免孤独 2020-12-11 08:35

I just upgraded to snow leopard. Before, I had everything running fine, but now when I start the server from the terminal I get:

=> Booting WEBrick
=>          


        
9条回答
  •  伪装坚强ぢ
    2020-12-11 09:11

    I've done all this... the only thing that has worked for me is

    sudo env ARCHFLAGS="-arch x86_64" gem install sqlite3-ruby
    

    Note: I did have XCode installed from devloper.apple.com, not the CD. The CD install of XCode Tools did nothing to fix this problem for me.

    If you don't have any XCode installed, you may need to get XCode 3 or 4 from http://developer.apple.com/xcode. You will need to sign up for an account. Presently, you may download XCode 3 for free without paying the $99 annual fee.

提交回复
热议问题