Snow Leopard & Ruby on Rails - SQLite3 issue

前端 未结 9 691
难免孤独
难免孤独 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:21

    For some reason, this didn't work too well for me.

    I had to basically start from scratch, following these instructions: http://hivelogic.com/articles/ruby-rails-leopard from the "Setting Up" stage.

    • Install XCode
    • Download Ruby 1.8.7
    • Recompile and install (I think this was the magic step I was missing)
    • Download Rubygems 1.3.5 (1.3.6 has some things deprecated that I didn't want to deal with)
    • Recompile and install Rubygems
    • THEN uninstall sqlite3: sudo gem uninstall sqlite3-ruby
    • Reinstall it: sudo gem install sqlite3-ruby

    To be clear, I tried the steps above. I tried installing XCode. I tried recompiling Rubygems...Only when I recompiled Ruby itself, THEN Rubygems, THEN uninstall and reinstall sqlite3-ruby did things clear up.

    I hope this helps.

提交回复
热议问题