Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby ActiveRecord Basics Introduction to ActiveRecord A Quick and Dirty Example

I cannot get into the rails console. Keeps returning "Switch to inspect mode" then freezing until I ctrl + c.

I am using git bash and sublime 2 on windows.

This is what returns when I attempt to get into the rails console:

~/hamblog $ rails console Loading development environment (Rails 4.2.4) Switch to inspect mode.

Then it continues to run with no progress until I ctrl + c.

1 Answer

Seth Reece
Seth Reece
32,867 Points

Best I can tell is GitBash has an issue with running rails console. You should be able to use irb in GitBash though. You might look into using Windows Powershell, or the Treehouse VM.

The Treehouse VM and cmder does not load properly, and Windows Powershell 4.0 is not compatible with my computer. Is Window Powershell 3.0 capable for me to follow along with treehouse?

Seth Reece
Seth Reece
32,867 Points

Powershell 2.0 and up should be able to work with Ruby on Rails.