"`getpgid': No such process (Errno::ESRCH)" when trying to create new controller

Answered

Upon trying to create a new controller, the action fails with the following message(s):

/home/mober/.rvm/rubies/ruby-2.5.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/mober/RubymineProjects/RailsAppTest/bin/spring rails generate controller test t -s
/home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/sid.rb:39:in `getpgid': No such process (Errno::ESRCH)
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/sid.rb:39:in `pgid'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/server.rb:84:in `set_pgid'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/server.rb:39:in `boot'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/server.rb:14:in `boot'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/client/server.rb:10:in `call'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
from /home/mober/.rvm/gems/ruby-2.5.1@RailsAppTest/gems/spring-2.0.2/bin/spring:49:in `<main>'

Process finished with exit code 1

System Information:

RubyMine 2018.1
Build #RM-181.4203.562, built on March 27, 2018
JRE: 1.8.0_152-release-1136-b20 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-38-generic

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

Kernel 4.13.0-38-generic

rvm list

rvm rubies

=* ruby-2.5.1 [ x86_64 ]

# => - current
# =* - current && default
# * - default

 

I also have system ruby installed:

ruby -v
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

But I'm using RVM with RubyMine.

 

I have this problem for a new/fresh/first installed, as I just started (trying) to use RubyMine.

2 comments
Comment actions Permalink

Hello,

sorry for such a delay. We have a similar issue on our tracker (the same error with rake tasks and RSpec tests) so please follow it: 
https://youtrack.jetbrains.com/issue/RUBY-22463

0

Please sign in to leave a comment.