cannot load such file — sqlite3/sqlite3_native (LoadError) on ruby on rails

后端 未结 18 1625
遇见更好的自我
遇见更好的自我 2020-11-22 09:39

When I try to setup basic installation and initiation of server using Rails 4.0.0 on Ruby 2.0.0, I\'m facing the following error message.

/usr/local/lib/ruby         


        
18条回答
  •  无人及你
    2020-11-22 09:48

    For OSX users, this can result from using a ruby manager (e.g. rvm).

    If you edit your ~/.bash_profile and add this:

    [[ "$APP" = *"/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/"* ]] && {
      echo Xcode detected
      rvm use system
    }
    

    You can work around the issue. Restart Xcode before attempting to build again.

    The actual issue is tracked here: https://openradar.appspot.com/28726736).

    Full credit goes to: https://egeek.me/2018/04/14/ipa-export-error-in-xcode-and-ruby/

提交回复
热议问题