Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Ruby on Rails 5 Basics Creating an App Our First Resource

Tad Luedeke
Tad Luedeke
12,677 Points

Issues with Rails on Mac with M1 Chip - NoMethodError in Posts#new

I'm totally stuck here. I've tried following the installation instructions and everything to the letter, but I'm on one of the MacBook Pro's with M1 chip, and nothing is working as they do in the videos. When I click "new post" I get:

NoMethodError in Posts#new Showing /Users/tluedeke/blog/app/views/posts/_form.html.erb where line #15 raised:

undefined method `deep_merge!' for {}:Concurrent::Hash Did you mean? deep_merge Extracted source (around line #15): 13 14 15 16 17 18

<div class="field"> <%= f.label :title %> <%= f.text_field :title %> </div>

Trace of template inclusion: app/views/posts/new.html.erb

Rails.root: /Users/tluedeke/blog

Application Trace | Framework Trace | Full Trace app/views/posts/form.html.erb:15:in `block in _app_views_postsform_html_erb986750044_2068' app/views/posts/_form.html.erb:1:in `_app_views_postsform_html_erb986750044_2068' app/views/posts/new.html.erb:3:in `_app_views_posts_new_html_erb__1616728586_2066' Request Parameters:

None Toggle session dump Toggle env dump Response Headers:


What can I do to move forward here?

What versions of Ruby and Rails are you using?