teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

成功時のコンソールのログを追記しました

2017/09/23 12:32

投稿

yimajo
yimajo

スコア25

answer CHANGED
@@ -16,10 +16,27 @@
16
16
 
17
17
  [https://github.com/ruby-debug/ruby-debug-ide/commit/02148f5296b5c30ef0b436358a54217c33e9713c](https://github.com/ruby-debug/ruby-debug-ide/commit/02148f5296b5c30ef0b436358a54217c33e9713c)
18
18
 
19
+ バージョンを変更し、エラーにならずに解決した際のRubyMineのコンソールを見ると、2行目 `ruby-debug-ide 0.6.1.beta9` となっているのがわかります。
20
+
21
+ ```
22
+ ruby -e at_exit{sleep(1)};$$stdout.sync=true;$$stderr.sync=true;load($$0=ARGV.shift) /opt/project/vendor/bundle/ruby/2.4.0/gems/ruby-debug-ide-0.6.1.beta9/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --evaluation-control --time-limit 100 --memory-limit 10 --rubymine-protocol-extensions --port 1234 --host 0.0.0.0 --dispatcher-port 26168 -- /opt/project/bin/rails server -b 0.0.0.0 -p 3000 -e development
23
+ Fast Debugger (ruby-debug-ide 0.6.1.beta9, debase 0.2.1, file filtering is supported) listens on 0.0.0.0:1234
24
+ => Booting Puma
25
+ => Rails 5.1.2 application starting in development on http://0.0.0.0:3000
26
+ => Run `rails server -h` for more startup options
27
+ Puma starting in single mode...
28
+ * Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller
29
+ * Min threads: 5, max threads: 5
30
+ * Environment: development
31
+ * Listening on tcp://0.0.0.0:3000
32
+ Use Ctrl-C to stop
33
+ ```
34
+
35
+
19
36
  何か参考になればとおもいます。
20
37
 
21
38
  # 補足情報(言語/FW/ツール等のバージョンなど)
22
39
 
23
40
  RubyMine: 2017.2
24
41
  Ruby:2.4.1
25
- Rails:5.1.2
42
+ Rails: 5.1.2