Flutter pod install problem - undefined method `each_child' for # Dir:0x00007fa6f7e2ec80
I changed the flutter channel from master to stable by running flutter channel stable
in terminal. I guess there is a bug on master channel!
undefined method `each_child' for # Dir:0x00007fcc34ccf6e8 Did you mean? each_slice
Update your ruby version to at least 2.6.x
Flutter relies on ruby in the background, the each_child command was introduced in ruby since 2.6
Related Topics
Why Isn't Current Directory on My Ruby Path
Convert Array of 2-Element Arrays into a Hash, Where Duplicate Keys Append Additional Values
Parallel Assignment Operator in Ruby
What Is a Regex to Match a String Not At the End of a Line
Rspec: Expect VS Expect With Block - What's the Difference
What Are the Magic $-Prefixed Variables in Ruby
Rails Engines Extending Functionality
How to Remove the Bom from a Utf-8 Encoded File
How to Sort an Array in Ruby to a Particular Order
"Certificate Verify Failed" Openssl Error When Using Ruby 1.9.3
Ruby: How to Copy a Variable Without Pointing to the Same Object
How to Edit or Write on Existing Pdf With Ruby
Matching Balanced Parenthesis in Ruby Using Recursive Regular Expressions Like Perl
How to Format a Date in Ruby to Include "Rd" as in "3Rd"
Xpath Axis, Get All Following Nodes Until
Stop Devise from Clearing Session