You May Have Encountered a Bug in the Ruby Interpreter or Extension Libraries

Rails console doesn't work You may have encountered a bug

try like this it workes for me

gem uninstall sqlite3
gem install sqlite3

Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports

Seems it's related to Ruby ffi. Run the following commands:

  1. sudo arch -x86_64 gem install ffi
  2. arch -x86_64 pod install

Xcode: pod install error when creating new projects

This Question is pretty general...
Are you using an Macbook M1? Or an Intel Macbook?

If you are using an Intel macbook ...

  • $sudo gem install cocoapods

  • move to your folder run pod init

  • open your Podfile and add your targets e.g.

    #platform :ios, '9.0'
    target 'MyPod' do
    # Pods for MyPod
    pod 'Firebase/Auth'

    end
  • Close Podfile

  • type pod install

  • type pod update

  • Open MyPod.xcworkspace and start working

if you are using M1 Mb do the same but start with

  1. Right click on Terminal
  2. Get Info -> Open with Rosetta
  3. Open terminal and type sudo gem install ffi

Then do the steps above.

If this error is still occur let me know.



Related Topics



Leave a reply



Submit