Category Archives: RubyMine

RubyMine – Run test – got “cannot load such file — test_helper”

Background RubyMine version: 8.0.3 Created a controller in a Rail project and select Run / Run ‘All tests in projectname…’, got “cannot load such file — test_helper” exception when test/test_helper.rb does exist Below is output from Run Tool window /usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/username/RubyMine-8.0.3/rb/testing/runner/tunit_or_minitest_in_folder_runner.rb Testing started at 08:02 … Work directory: /home/username/development/rubymine/hello_mine Loading files…. ========================================= Fail… Read More »

RubyMine – run test and got “getpgid: No such process (Errno::ESRCH)”

Background OS: Debian 8 Desktop: Xfce Ruby version: ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu] Rails version: Rails 4.2.5 RubyMine version: 8.0.3 VNC Server version: TightVNC-1.3.9 VNC Client: TightVNC Viewer for Windows version 2.7.10 RubyMine started in VNC session. The session is terminated while RubyMine is still running and then reconnected after a few hours. Trying to run… Read More »