

After some fiddling I found that you can map the local path to the remote path in the SDK Configuration or Run/Debug Configurations. fill in the host, username, password and pathĪfter adding the remote SDK make sure it is selected as your project SDK.Īs pointed out in the comments below, when running the application the Windows path is send as parameter to the Ruby SDK.select: Languages & Frameworks => Ruby SDK and gems.The editor window now has the warning "Some of the required gems are not attached: rails.You can let RubyMine use an SDK over SSH. However, despite successfully creating and populating the rails directory structure, 2: In the Ruby SDK and Gems page, click the + button and select New remote: 3: Provide a path to the Ruby executable, for example: /home/ user-name /.rvm/rubies/ruby- X.X.X /bin/ruby for Ruby installations usin rvm. This removes the warning, and it is possible to finish setting up the new project. 'Gems bin directory' to /home/peter/.gem/ruby/1.9.1/bin Going back a screen and configuring the Ruby SDK, I manually change I get a warning message "Your SDK doesn't contain Rails Framework". > select Ruby SDK -> select Ruby on Rails New Project -> Create project from scratch -> select Ruby Module Gems are installed under /home/peter/.gem

Ruby (1.9.1), gem (1.3.5) and rails (2.3.10) are installed and work from the command line. I am having a similar problem when trying to use the Ruby plugin for IDEA running on Ubuntu 10.04.įair Warning: I am completely new to IDEA, so this may well be a noob error.

Anyone know how I can get this working in RubyMine? I've already tried unattaching and re-attaching the rails gem and re-launching RubyMine. It was working previously, but quit (perhaps after doing a "bundle update"?). I just can't get the server to start in RubyMine. If I attempt to run this configuration, I get a red alert notification that reads: "Error running Development: project: " Ruby SDK: User project SDK: Ruby SDK 1.9.2-p0 Īn error alert is visible at the bottom of this panel: Run Configuration Error: Ruby arguments: -e STDOUT.sync=true STDERR.sync=true load($0=ARGV.shift) There are no missing or unattached gems listed. RubyMine synchronizes the gemsets enabled in the Ruby SDK and Gems page with the ones specified in. rbenv-gemsets file manages project gemsets. Can somebody help me The picture for setting ruby remote debug is as follows 1)Program Can the content be set to ruby.exe or ruby 2) Arguments Can the content be set to relative directory+ debug-sketchup.rb 18 or absolute directory + debug-sketchup.rb 18 3)working directory Infer to the directory of ruby.exe or sketchup. Ruby Interpreter: Ruby SDK 1.9.2-p0 (~/.rvm/rubies/ruby-1.9.2-p0/bin/ruby) RubyMine enables you to work with rbenv gemsets using the rbenv-gemsets plugin.
