Rspec Byebug未在控制台中打印任何内容

Rspec Byebug未在控制台中打印任何内容,rspec,rspec-rails,Rspec,Rspec Rails,我在rspec中添加了调试,如下代码所示 code : it 'sample testing' do byebug post: create, user:{id:1, name:'sample_user'} , format: 'json' expect('sample_Scenario') end 当我运行上面的rspec时,正如预期的那样,它在byebug处中断,但我无法检查或获取信息。控制台将像这样 (byebug) tester (byebug) l (by

我在rspec中添加了调试,如下代码所示

code : 
it 'sample testing' do 
   byebug
   post: create, user:{id:1, name:'sample_user'} , format: 'json'
    expect('sample_Scenario')
end  
当我运行上面的rspec时,正如预期的那样,它在byebug处中断,但我无法检查或获取信息。控制台将像这样

(byebug) tester
(byebug) l
(byebug) nexts
它甚至没有返回错误