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:
- sudo arch -x86_64 gem install ffi
- 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'
endClose 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
- Right click on Terminal
- Get Info -> Open with Rosetta
- Open terminal and type sudo gem install ffi
Then do the steps above.
If this error is still occur let me know.
Related Topics
Need Help Maximizing 3 Factors in Multiple, Similar Objects and Ordering Appropriately
Ruby Tcpsocket: Find Out How Much Data Is Available
Detecting Overlapping Ranges in Ruby
Trying to Set Up Amazon's S3 Bucket: 403 Forbidden Error & Setting Permissions
How to Split a String into Consecutive Substrings of Length at Most 3 in All Possible Ways
How to Search Array Through Ransack Gem
Grouped Collection Select Alphabetical Order Rails
Rails 3.2 Activeadmin 'Collection Is Not a Paginated Scope.' Error
Getting Ruby Function Object Itself
What's the Best Background Job Management Library for Rails
How to Render a String as an Erb File
Ruby: How to Write a Bang Method, Like Map
Ruby: Is Variable Is Object in Ruby
Rails: Detecting User Agent Works in Development But Not Production
Printing Elements of Array Using Erb