Add remote Ruby SDK

已完成

Hi folks,
I have a multi app environment based on https://github.com/phusion/passenger-docker and I'm trying to add a remote Ruby SDK (docker or docker-compose) in RubyMine 2017.2.

Here is my docker-compose.yml file:

version: '2'
services:
  web:
    build:
      context: .
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${APPLICATIONS_PATH}:/home/app/www
      - rvm_gems:/usr/local/rvm/gems/ruby-2.3.3
    links:
      - db
  db:
    image: mysql:5.7
    user: mysql
    ports:
       - "3306:3306"
    volumes:
       - ./db:/docker-entrypoint-initdb.d
       - mysql:/var/lib/mysql
    environment:
       MYSQL_USER: ${MYSQL_USER}
       MYSQL_PASSWORD: ${MYSQL_PASSWORD}
       MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
volumes:
  mysql:
    driver: "local"
  rvm_gems:
    driver: "local"

The problem is that gems are not found.
I tried to set GEM_HOME / GEM_PATH variables (RubyMine docker-compose setup), but it doesn't work.

Many thanks in advance for your help.

Mauro

1

Hello Mauro, could you please detail your environment? Please attach idea.log (Help | Show Log in...)?

0
Avatar
Permanently deleted user

Hello Anna,
many thanks for your reply.

I have a RubyMine Project for each each app (www directory) and I tried to add a remote Ruby SDK (docker-compose) for the auth project.

Ruby Interprether path

/usr/bin/ruby

I get the following error using /usr/bin/ruby as interprether path:

    Can't create Ruby SDK
    Can't find ruby by provided interprether path

Btw, /usr/bin/ruby is a script containing the following code

#!/bin/sh
exec /usr/local/rvm/bin/rvm-exec default ruby "$@"

/usr/local/rvm/rubies/default/bin/ruby

I then tried with /usr/local/rvm/rubies/default/bin/ruby (which is a link to /usr/local/rvm/rubies/ruby-2.3.3/bin/ruby) and it works, but the downloaded gems are the system ones.

 

Directory structure

[sbu]$ tree -L 2 -a
.
├── .DS_Store
├── sbudock
│   ├── .DS_Store
│   ├── .env
│   ├── .git
│   ├── .gitignore
│   ├── .idea
│   ├── Dockerfile
│   ├── README.md
│   ├── clean.sh
│   ├── db
│   ├── docker-compose.yml
│   ├── env-example
│   ├── libraries
│   ├── sbu_hosts.txt
│   ├── setup.sh
│   ├── templates
│   ├── utilities
│   └── webserver
└── www
     ├── .DS_Store
     ├── auth
     ├── organizer
     └── sbu_api

Log file content

2017-07-28 08:20:08,073 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2017-07-28 08:20:08,084 [ 11] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2017-07-28 08:20:08,084 [ 11] INFO - #com.intellij.util.ui.JBUI - System scale factor: 2.0 (JRE-managed HiDPI)
2017-07-28 08:20:08,090 [ 17] INFO - #com.intellij.idea.Main - IDE: RubyMine (build #RM-172.3317.60, 12 Jul 2017 18:08)
2017-07-28 08:20:08,090 [ 17] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.12.5, x86_64)
2017-07-28 08:20:08,090 [ 17] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b5 (JetBrains s.r.o)
2017-07-28 08:20:08,090 [ 17] INFO - #com.intellij.idea.Main - JVM: 25.152-b5 (OpenJDK 64-Bit Server VM)
2017-07-28 08:20:08,099 [ 26] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/mauro/java_error_in_rubymine_%p.log -XX:HeapDumpPath=/Users/mauro/java_error_in_rubymine.hprof -Xbootclasspath/a:../lib/boot.jar -Djb.vmOptionsFile=/Applications/RubyMine.app/Contents/bin/rubymine.vmoptions -Didea.java.redist=jdk-bundled -Didea.home.path=/Applications/RubyMine.app/Contents -Didea.executable=rubymine -Didea.platform.prefix=Ruby -Didea.paths.selector=RubyMine2017.2
2017-07-28 08:20:08,099 [ 26] INFO - #com.intellij.idea.Main - ext: /Applications/RubyMine.app/Contents/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunpkcs11.jar, zipfs.jar]
2017-07-28 08:20:08,100 [ 27] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [AppleScriptEngine.jar, dns_sd.jar, j3daudio.jar, j3dcore.jar, j3dutils.jar, jai_codec.jar, jai_core.jar, libAppleScriptEngine.jnilib, libJ3D.jnilib, libJ3DAudio.jnilib, libJ3DUtils.jnilib, libmlib_jai.jnilib, mlibwrapper_jai.jar, MRJToolkit.jar, vecmath.jar]
2017-07-28 08:20:08,100 [ 27] INFO - #com.intellij.idea.Main - ext: /usr/lib/java: [libjdns_sd.jnilib]
2017-07-28 08:20:08,100 [ 27] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2017-07-28 08:20:08,116 [ 43] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 16 ms
2017-07-28 08:20:08,134 [ 61] INFO - #com.intellij.idea.Main - initializing environment
2017-07-28 08:20:08,135 [ 62] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/RubyMine.app/Contents/bin/printenv.py' '/private/var/folders/_y/w2plbfxj6hv8kgt88ng2frmh0000gn/T/intellij-shell-env.tmp'
2017-07-28 08:20:08,450 [ 377] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (27 vars)
2017-07-28 08:20:08,451 [ 378] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=en_CH.UTF-8
2017-07-28 08:20:10,793 [ 2720] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor yaml-specific.xml
2017-07-28 08:20:11,112 [ 3039] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2017-07-28 08:20:11,776 [ 3703] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2017-07-28 08:20:11,778 [ 3705] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2017-07-28 08:20:12,179 [ 4106] INFO - llij.ide.plugins.PluginManager - 50 plugins initialized in 1582 ms
2017-07-28 08:20:12,182 [ 4109] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: CSS Support (172.3317.60), CVS Integration (11), CoffeeScript (2.0), Database Tools and SQL (172.3317.60), Docker integration (3.0.0), EditorConfig (172.3317.60), Gherkin (999.999), Git Integration (8.1), GitHub (172.3317.60), HTML Tools (2.0), Haml (172.3317.60), IDEA CORE (172.3317.60), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Less support (172.3317.60), Markdown support (172.3317.60), Perforce Integration (2.0), Puppet Support (172.3317.60), REST Client (172.3317.60), Remote Hosts Access (0.1), Ruby CSS Support Integration (172.3317.60), Ruby Code Coverage (172.3317.60), Ruby Cucumber support (172.3317.60), Ruby Database Support Integration (172.3317.60), Ruby Docker (VERSION), Ruby Haml Support Integration (172.3317.60), Ruby I18n Support Integration (172.3317.60), Ruby JavaScript Debugger Integration (172.3317.60), Ruby Puppet Support Integration (172.3317.60), Ruby Remote SDK Support (0.1), Ruby Slim Support Integration (172.3317.60), Ruby UML Support Integration (172.3317.60), RubyMotion support (172.3317.60), SSH Remote Run (0.1), Sass support (172.3317.60), Settings Repository (172.3317.60), Slim (172.3317.60), Stylus support (999.999), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (172.3317.60), Time Tracking (1.0), UML Support (1.0), Vagrant (172.3317.60), YAML (172.3317.60), hg4idea (10.0), tslint (172.3317.60)
2017-07-28 08:20:12,881 [ 4808] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2017-07-28 08:20:12,921 [ 4848] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/RubyMine.app/Contents/bin/fsnotifier
2017-07-28 08:20:12,932 [ 4859] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-07-28 08:20:12,964 [ 4891] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2017-07-28 08:20:12,964 [ 4891] INFO - pi.util.registry.RegistryState - dumb.aware.run.configurations = true
2017-07-28 08:20:13,408 [ 5335] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2017-07-28 08:20:13,823 [ 5750] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2017-07-28 08:20:13,946 [ 5873] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-07-28 08:20:13,990 [ 5917] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-07-28 08:20:14,071 [ 5998] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:20
2017-07-28 08:20:14,075 [ 6002] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2017-07-28 08:20:14,102 [ 6029] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:18
2017-07-28 08:20:14,102 [ 6029] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2017-07-28 08:20:14,127 [ 6054] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-07-28 08:20:14,296 [ 6223] INFO - #com.jetbrains.cidr.xcode - Xcode found in 'Xcode@/Applications/Xcode.app/Contents/Developer'
2017-07-28 08:20:14,302 [ 6229] ERROR - s.cidr.execution.deviceSupport - null
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.jetbrains.cidr.execution.deviceSupport.AMDeviceManager.initComponent(AMDeviceManager.java:145)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:492)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:118)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:475)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:482)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:102)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:420)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.idea.MainImpl$1$1.a(MainImpl.java:67)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:345)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2017-07-28 08:20:14,305 [ 6232] ERROR - s.cidr.execution.deviceSupport - RubyMine 2017.2 Build #RM-172.3317.60
2017-07-28 08:20:14,305 [ 6232] ERROR - s.cidr.execution.deviceSupport - JDK: 1.8.0_152-release
2017-07-28 08:20:14,305 [ 6232] ERROR - s.cidr.execution.deviceSupport - VM: OpenJDK 64-Bit Server VM
2017-07-28 08:20:14,305 [ 6232] ERROR - s.cidr.execution.deviceSupport - Vendor: JetBrains s.r.o
2017-07-28 08:20:14,305 [ 6232] ERROR - s.cidr.execution.deviceSupport - OS: Mac OS X
2017-07-28 08:20:14,370 [ 6297] INFO - plication.impl.ApplicationImpl - 82 application components initialized in 3776ms
2017-07-28 08:20:14,404 [ 6331] INFO - .intellij.idea.IdeaApplication - App initialization took 7283 ms
2017-07-28 08:20:14,670 [ 6597] INFO - pl$FileIndexDataInitialization - Initialization done:595
2017-07-28 08:20:14,955 [ 6882] INFO - management.pik.PikSdkRefresher - Refreshing sdks
2017-07-28 08:20:14,955 [ 6882] INFO - management.pik.PikSdkRefresher - pik isn't supported by OS
2017-07-28 08:20:14,961 [ 6888] INFO - gement.rbenv.RbenvSdkRefresher - Refreshing sdks
2017-07-28 08:20:14,961 [ 6888] INFO - gement.rbenv.RbenvSdkRefresher - rubies folder doesn't exist
2017-07-28 08:20:15,035 [ 6962] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2017-07-28 08:20:15,095 [ 7022] INFO - exImpl$StubIndexInitialization - Initialization done:424
2017-07-28 08:20:15,326 [ 7253] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@2f0e7465
2017-07-28 08:20:15,833 [ 7760] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@27c23ecd
2017-07-28 08:20:16,013 [ 7940] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@20483f22
2017-07-28 08:20:16,954 [ 8881] INFO - management.pik.PikSdkRefresher - Refreshing sdks
2017-07-28 08:20:16,955 [ 8882] INFO - management.pik.PikSdkRefresher - pik isn't supported by OS
2017-07-28 08:20:16,955 [ 8882] INFO - gement.rbenv.RbenvSdkRefresher - Refreshing sdks
2017-07-28 08:20:16,955 [ 8882] INFO - gement.rbenv.RbenvSdkRefresher - rubies folder doesn't exist
2017-07-28 08:20:17,000 [ 8927] INFO - ellij.project.impl.ProjectImpl - 105 project components initialized in 472 ms
2017-07-28 08:20:17,108 [ 9035] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 107 ms
2017-07-28 08:20:17,222 [ 9149] INFO - ellij.project.impl.ProjectImpl - 14 project components initialized in 16 ms
2017-07-28 08:20:17,496 [ 9423] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2017-07-28 08:20:17,999 [ 9926] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 121ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:20:18,288 [ 10215] INFO - tartup.impl.StartupManagerImpl - /Users/mauro/sbu/www/auth/.idea case-sensitivity: expected=false actual=false
2017-07-28 08:20:18,301 [ 10228] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 360ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:20:18,577 [ 10504] INFO - tor.impl.FileEditorManagerImpl - Project opening took 2067 ms
2017-07-28 08:20:18,818 [ 10745] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 516ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:20:19,071 [ 10998] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2017-07-28 08:20:19,071 [ 10998] INFO - tartup.impl.StartupManagerImpl - SassExtensionsStartupActivity run in 158ms on UI thread
2017-07-28 08:20:19,201 [ 11128] INFO - e.GemRequirementsChangeWatcher - Initial scan started
2017-07-28 08:20:19,204 [ 11131] INFO - e.GemRequirementsChangeWatcher - Initial scan took: 3 ms
2017-07-28 08:20:19,374 [ 11301] INFO - ails.preload.spring.SpringUtil - Moving Spring to /private/var/folders/_y/w2plbfxj6hv8kgt88ng2frmh0000gn/T/RMSpring
2017-07-28 08:20:19,375 [ 11302] INFO - .ruby.ruby.run.RubyCommandLine - Executing [/Users/mauro/.rvm/rubies/ruby-2.3.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/mauro/sbu/www/auth/bin/bundle check], working dir =[/Users/mauro/sbu/www/auth]
2017-07-28 08:20:56,261 [ 48188] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 47 ms
2017-07-28 08:24:19,100 [ 251027] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:24:37,926 [ 269853] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:24:38,169 [ 270096] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:24:54,394 [ 286321] INFO - ntellij.docker.DockerConnector - Unable to load bundled client library files from /Applications/RubyMine.app/Contents/plugins/Docker/lib/Docker.jar/rt
2017-07-28 08:24:55,603 [ 287530] INFO - se.DockerComposeProjectService - Unable to get Docker Compose version using "docker-compose" executable. Cannot run program "docker-compose": error=2, No such file or directory
2017-07-28 08:24:55,623 [ 287550] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:25:01,870 [ 293797] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:25:02,080 [ 294007] WARN - gins.ruby.ruby.sdk.RubySdkType - /usr/bin/env: ‘bash’: No such file or directory

2017-07-28 08:25:02,136 [ 294063] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:25:02,415 [ 294342] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:25:06,654 [ 298581] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:25:06,850 [ 298777] WARN - gins.ruby.ruby.sdk.RubySdkType - /usr/bin/env: ‘bash’: No such file or directory

2017-07-28 08:25:06,973 [ 298900] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:26:16,891 [ 368818] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:26:18,289 [ 370216] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:26:30,360 [ 382287] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:26:32,855 [ 384782] INFO - se.DockerComposeProjectService - Unable to get Docker Compose version using "docker-compose" executable. Cannot run program "docker-compose": error=2, No such file or directory
2017-07-28 08:26:32,862 [ 384789] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:26:37,349 [ 389276] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:26:37,595 [ 389522] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:26:37,823 [ 389750] INFO - ns.plugins.remotesdk.RSyncUtil - rsync version: rsync version 2.6.9 protocol version 29
2017-07-28 08:26:42,026 [ 393953] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:26:42,263 [ 394190] INFO - yCreateRemoteInterpreterDialog - initializing Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:26:42,265 [ 394192] INFO - yCreateRemoteInterpreterDialog - localGemsBinPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846, remoteGemsBinPath=/usr/local/rvm/rubies/default/bin
2017-07-28 08:26:42,324 [ 394251] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:26:46,506 [ 398433] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/890086132/bin, remotePath=/root/.gem/ruby/2.3.0/bin
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/890086132/gems, remotePath=/root/.gem/ruby/2.3.0/gems
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/890086132/specifications, remotePath=/root/.gem/ruby/2.3.0/specifications
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/890086132/bundler, remotePath=/root/.gem/ruby/2.3.0/bundler
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/bin, remotePath=/usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/bin
2017-07-28 08:26:46,989 [ 398916] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/gems, remotePath=/usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems
2017-07-28 08:26:46,990 [ 398917] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/specifications, remotePath=/usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/specifications
2017-07-28 08:26:46,991 [ 398918] INFO - yCreateRemoteInterpreterDialog - localPath=/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/bundler, remotePath=/usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/bundler
2017-07-28 08:26:46,998 [ 398925] INFO - ntellij.docker.DockerConnector - Unable to load bundled client library files from /Applications/RubyMine.app/Contents/plugins/Docker/lib/Docker.jar/rt
2017-07-28 08:26:47,046 [ 398973] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:26:52,468 [ 404395] INFO - yCreateRemoteInterpreterDialog - Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby) initialized
2017-07-28 08:26:52,533 [ 404460] INFO - byRemoteInterpreterManagerImpl - Uploading helpers for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby) at Thread[ApplicationImpl pooled thread 12,4,main]
2017-07-28 08:26:52,533 [ 404460] INFO - byRemoteInterpreterManagerImpl - Helpers uploaded for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby) at Thread[ApplicationImpl pooled thread 12,4,main]
2017-07-28 08:26:52,533 [ 404460] INFO - byRemoteInterpreterManagerImpl - Updating gems for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:27:22,530 [ 434457] INFO - pl.ProjectRootManagerComponent - project roots have changed
2017-07-28 08:27:22,946 [ 434873] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:27:22,975 [ 434902] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:27:23,030 [ 434957] INFO - pl.ProjectRootManagerComponent - project roots have changed
2017-07-28 08:27:23,086 [ 435013] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 19ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:27:23,103 [ 435030] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 17ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:27:23,103 [ 435030] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 13 files to update
2017-07-28 08:27:23,118 [ 435045] INFO - se.DockerComposeProjectService - Unable to get Docker Compose version using "docker-compose" executable. Cannot run program "docker-compose": error=2, No such file or directory
2017-07-28 08:27:23,119 [ 435046] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:27:23,920 [ 435847] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 817ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:27:27,328 [ 439255] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:27:27,514 [ 439441] INFO - ions.generators.GeneratorsUtil - /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/shared_helpers.rb:24:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound)
from /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/shared_helpers.rb:29:in `default_lockfile'
from /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler.rb:308:in `default_lockfile'
from /opt/project/bin/spring:10:in `<top (required)>'
from /opt/project/bin/rails:3:in `load'
from /opt/project/bin/rails:3:in `<main>'

Exit code 1
2017-07-28 08:28:04,505 [ 476432] INFO - pl.ProjectRootManagerComponent - project roots have changed
2017-07-28 08:28:04,544 [ 476471] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 16ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:28:04,546 [ 476473] INFO - se.DockerComposeProjectService - Unable to get Docker Compose version using "docker-compose" executable. Cannot run program "docker-compose": error=2, No such file or directory
2017-07-28 08:28:04,547 [ 476474] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:28:04,549 [ 476476] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:28:15,481 [ 487408] INFO - byRemoteInterpreterManagerImpl - Gems for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby) updated
2017-07-28 08:28:15,534 [ 487461] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:28:15,698 [ 487625] INFO - gement.rbenv.RbenvSdkRefresher - It looks like .ruby-version (/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/gems/bundler-unload-1.0.2/.ruby-version) has been changed (or created), let's update sdk for the project (Project '/Users/mauro/sbu/www/auth' auth)
2017-07-28 08:28:15,699 [ 487626] INFO - management.rvm.RvmSdkRefresher - It looks like rvm config file (/Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/1519034518/gems/bundler-unload-1.0.2/.ruby-version) has been changed (or created), let's update sdk for the project (Project '/Users/mauro/sbu/www/auth' auth)
2017-07-28 08:28:15,782 [ 487709] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:28:15,786 [ 487713] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:28:19,430 [ 491357] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 103 to update, calculated in 1ms
2017-07-28 08:28:19,972 [ 491899] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:
2017-07-28 08:28:20,461 [ 492388] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 1031ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-28 08:28:25,607 [ 497534] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:28:25,624 [ 497551] WARN - brains.plugins.ruby.gem.GemBox - Unable to find lib directory /Users/mauro/Library/Caches/RubyMine2017.2/ruby_stubs/-1795951887/331729846/../lib/ruby/2.3.0for Remote:ruby-2.3.3-p222: ver.2.3.3p222 ( revision 56859) p222 (docker-compose://[/Users/mauro/sbu/sbudock/docker-compose.yml]:web//usr/local/rvm/rubies/default/bin/ruby)
2017-07-28 08:28:51,073 [ 523000] INFO - figurations.GeneralCommandLine - Cannot run program "docker-machine": error=2, No such file or directory
java.io.IOException: Cannot run program "docker-machine": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:420)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:387)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38)
at com.intellij.docker.machine.DockerMachine.exec(DockerMachine.java:98)
at com.intellij.docker.machine.DockerMachine.version(DockerMachine.java:252)
at com.intellij.docker.machine.DockerMachineUtil.checkValidExecutable(DockerMachineUtil.java:70)
at com.intellij.docker.machine.DockerMachineUtil.tryFindDockerMachineExecutable(DockerMachineUtil.java:40)
at com.intellij.docker.DockerSettings.getDockerMachinePath(DockerSettings.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.xmlb.PropertyAccessor.read(PropertyAccessor.java:58)
at com.intellij.util.xmlb.SkipDefaultsSerializationFilter.equal(SkipDefaultsSerializationFilter.java:32)
at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:85)
at com.intellij.configurationStore.XmlSerializer.serialize(xmlSerializer.kt:55)
at com.intellij.configurationStore.XmlSerializer.serialize$default(xmlSerializer.kt:49)
at com.intellij.configurationStore.SaveSessionBaseKt.serializeState(SaveSessionBase.kt:57)
at com.intellij.configurationStore.SaveSessionBase.setState(SaveSessionBase.kt:29)
at com.intellij.configurationStore.StateStorageManagerImpl$startExternalization$1.setState(StateStorageManagerImpl.kt:434)
at com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:229)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:159)
at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:46)
at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1438)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:663)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.java:697)
at com.intellij.ide.impl.ProjectUtil.closeAndDispose(ProjectUtil.java:91)
at com.intellij.openapi.wm.impl.IdeFrameImpl$1.windowClosing(IdeFrameImpl.java:193)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2054)
at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
at java.awt.Window.processEvent(Window.java:2013)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:821)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 62 more
2017-07-28 08:28:51,078 [ 523005] INFO - figurations.GeneralCommandLine - Cannot run program "docker-machine": error=2, No such file or directory
java.io.IOException: Cannot run program "docker-machine": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:420)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:387)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38)
at com.intellij.docker.machine.DockerMachine.exec(DockerMachine.java:98)
at com.intellij.docker.machine.DockerMachine.version(DockerMachine.java:252)
at com.intellij.docker.machine.DockerMachineUtil.checkValidExecutable(DockerMachineUtil.java:70)
at com.intellij.docker.machine.DockerMachineUtil.tryFindDockerMachineExecutable(DockerMachineUtil.java:40)
at com.intellij.docker.DockerSettings.getDockerMachinePath(DockerSettings.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.xmlb.PropertyAccessor.read(PropertyAccessor.java:58)
at com.intellij.util.xmlb.SkipDefaultsSerializationFilter.equal(SkipDefaultsSerializationFilter.java:32)
at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:85)
at com.intellij.configurationStore.XmlSerializer.serialize(xmlSerializer.kt:55)
at com.intellij.configurationStore.XmlSerializer.serialize$default(xmlSerializer.kt:49)
at com.intellij.configurationStore.SaveSessionBaseKt.serializeState(SaveSessionBase.kt:57)
at com.intellij.configurationStore.SaveSessionBase.setState(SaveSessionBase.kt:29)
at com.intellij.configurationStore.StateStorageManagerImpl$startExternalization$1.setState(StateStorageManagerImpl.kt:434)
at com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:229)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:159)
at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:46)
at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1438)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:663)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.java:697)
at com.intellij.ide.impl.ProjectUtil.closeAndDispose(ProjectUtil.java:91)
at com.intellij.openapi.wm.impl.IdeFrameImpl$1.windowClosing(IdeFrameImpl.java:193)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2054)
at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
at java.awt.Window.processEvent(Window.java:2013)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:821)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 62 more
2017-07-28 08:28:51,181 [ 523108] INFO - ntellij.docker.DockerConnector - Unable to load bundled client library files from /Applications/RubyMine.app/Contents/plugins/Docker/lib/Docker.jar/rt
2017-07-28 08:28:51,233 [ 523160] INFO - se.DockerComposeProjectService - Unable to get Docker Compose version using "docker-compose" executable. Cannot run program "docker-compose": error=2, No such file or directory
2017-07-28 08:28:51,233 [ 523160] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2017-07-28 08:28:55,274 [ 527201] INFO - .run.runtime.DockerExecProcess - com.github.dockerjava.api.exception.NotModifiedException: , caused by: com.github.dockerjava.api.exception.NotModifiedException:

Many thanks for your help.

Mauro

0
Avatar
Permanently deleted user

I have the same issue. Is there a fix?

Dominic

0
Avatar
Permanently deleted user

Is this a bug? Is there a workaround? 

Many thanks!

0
Avatar
Permanently deleted user

Does RubyMine consider and mount volumes defined in docker-compose.yml when downloading gems?

0
Avatar
Permanently deleted user

RubyMine Gem Manager
Failed to run remote command: com.intellij.docker.remote.run.runtime.WrappedNotFoundException:     com.github.dockerjava.api.exception.NotFoundException: {"message":"oci runtime error: container_linux.go:262: starting container process caused \"exec: \\\"ruby\\\": executable file not found in $PATH\"\n"}

Strange since I set ruby binary path equals to /usr/local/rvm/rubies/default/bin/ruby

Any update?

Many thanks, 
Mauro

1

Hello,

could you please check again how it goes in the last RubyMine 2017.3 EAP?

0
Avatar
Permanently deleted user

Hi Olga,
it seems to work.

This is the configuration used in my passenger-docker + d4m-nfs based environment.

Docker
RubyMine > Preferences > Build, Execution, Deployment > Docker > +
 
Name: MyDock
Connect to Docker daemon with: Docker for Mac
Path mappings:
/tmp     /tmp
 
Ruby SDK
RubyMine > Preferences > Languages & Frameworks > Ruby SDK and Gems > New remote ...
 
Type: Docker Compose
 
Server: MyDock
Configuration file(s): select the docker-compose.yml
Service: select the right service
Environment variables: leave empty
Ruby Interpreter Path: /usr/local/rvm/rubies/default/bin/ruby

 

Many thanks,
Mauro

0
Avatar
Permanently deleted user

The Download of SDK and gems is slow and takes minutes.

During the download the IDE cannot be used.

Is there a way to define a Docker Compose RUN/Debug configuration when the Docker environment is based on nginx + passenger + vhosts?

Many thanks,
Mauro

0

Mauro,

in case you need some specific Docker environment you can always set it up manually (RubyMine will run the command for Ruby/Rails and Docker but environment is something that is configured via docker compose). As for downloading speed, we have a corresponding task so please vote for it in order to get notifications regarding its state: 

https://youtrack.jetbrains.com/issue/RUBY-19834

0
Avatar
Permanently deleted user

Its broken again in 2018.1.3 

1
Avatar
Permanently deleted user

It is broken again in 2018.2.3. Any update on this?

Gem downloaded are not those installed.

Many thanks for your help.

Mauro

0
Avatar
Permanently deleted user

Any update on this? Please...

0

Hello Mauro,

sorry for the delay. Could you please specify the problem you get at the moment? Do you mean that gems in external libraries aren't those that are already installed and listed in Gemfile? It'd be great if you could provide a project sample for reproduce (you can send me it to rubymine-support@jetbrains.com)

0
Avatar
Permanently deleted user

Hi Olga,
many thanks for your reply.

I already provided an example 6 months ago.

Devlopment environment with instructions:
https://gitlab.com/my-passenger-docker/mydock

Sample applications:
https://gitlab.com/my-passenger-docker/app1
https://gitlab.com/my-passenger-docker/app2

In order to be able to clone the repositories you need to authenticate to gitlab (free account).

Many thanks,
Mauro

 

 

 

0

So after our discussion in the support system we've managed to solve the problem, which was happening due to the incorrect path to the rvm version manager.

0

请先登录再写评论。