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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Editing Todo Items

You may have encountered a bug in the Ruby interpreter or extension libraries.

Editing todo items /Users/kimjonathan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178: [BUG] vm_call_cfunc - cfp consistency error ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details.

-- Control frame information -----------------------------------------------

[NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. Don't forget to include the above Crash Report log file. For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6

While I was working on edit_spec.rb and runnig test as the instruction, I got this message form command line..

Does anyone know what this is?

I searched around and see that most people get this msg when they try to run the server, but my server runs just fine.

I don't know what the error is but it seems pretty extreme! Something has failed within the rspec environment. If it wasn't happening before and you could run your tests, then whatever changed may have caused this.

If you're editing edit_spec.rb is there anything in there that's wrong? Can you post the code so we can take a look.

It seems a very dramatic error for a code glitch, though!

Steve.

I searched around and found a page related to this and what I got from there is that this is something related to whole ruby -v and rails -v . What I had to do was reinstall ruby and rails and it works fine now. At first, I freaked out the way of the warning msg, but like always I found the solution from google :) Thanks.