Questions tagged [rubymine]

RubyMine is a commercial cross-platform IDE for Ruby and Ruby on Rails development, created and provided by JetBrains.

RubyMine is a commercial cross-platform IDE for Ruby and Ruby and Rails development, created and provided by JetBrains.

Main features include:

  • Customizable editor with support for Ruby and Rails, JavaScript and CoffeeScript, ERB, Slim and HAML, CSS, Sass and Less, and more.

  • On-the-fly code analysis with quick-fixes and code autocompletion for Ruby and Rails.

  • Various code navigation options including the ability to navigate to the methods defined in the app, as well as those of Ruby, Rails, and gems.

  • Finding usages, extracting and renaming methods and variables throughout the project, and other refactoring options.

  • Visual testing suite and debugger for Ruby and JavaScript.

  • Git integration and support for other version control systems.

  • Support for RVM, Rbenv, RSpec, Cucumber, RuboCop, Vagrant, Puppet, Docker, and other technologies, tools, and frameworks.

Links:

1257 questions
204
votes
20 answers

Rubymine: How to make Git ignore .idea files created by Rubymine

I use Rubymine for Rails projects. Very often, Rubymine makes changes in .idea/* files that I don't care about. But it keeps preventing me from checking out new branches, and makes my version of .idea/ different from my coworkers. We already added…
AdamNYC
  • 19,887
  • 29
  • 98
  • 154
98
votes
3 answers

How to speed up WebStorm

In huge project WebStorm (it can be other product of JetBrains) is always thinking and loading something. This is really annoying me!
Nazar Vynnytskyi
  • 4,647
  • 2
  • 21
  • 22
92
votes
5 answers

How to set single clicking to open file in IntelliJ IDEA?

And what are counterparts to eclipse's declaration view and javadoc view?
Alex Luya
  • 9,412
  • 15
  • 59
  • 91
82
votes
9 answers

Webstorm not recognising JavaScript file

Webstorm doesn't recognize one of my .js files as a JavaScript file so I'm losing syntax highlighting and being able to add break points. I've looked in the workspace.xml file and the file in question seems to have similar settings to other .js…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
66
votes
6 answers

IDE comment keywords

So I only recently discovered the TODO comment. For those of you that don't know, most modern IDE's will recognize this word in a comment and flag the comment line a different colour so It stands out. EG. //Need to talk to Bill about refactoring…
OVERTONE
  • 11,797
  • 20
  • 71
  • 87
54
votes
3 answers

Running a spec in RubyMine results in "cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)"

OS: Arch Linux, Rails version: 4, RubyMine: 6.3 When I run a spec from Tools - Run Rake Task - spec I always get this error: /home/chylli/.rvm/gems/ruby-2.1.2@rails4/gems/rspec-core-3.0.2/lib/rspec/core/configuration.rb:1024:in `require': cannot…
chylli
  • 561
  • 1
  • 4
  • 7
53
votes
5 answers

Is it impossible to use Guard with RubyMine?

For some inexplicable reason, RubyMine autosaves every change you make and so every key stroke will trigger Guard to run your tests! And the most ridiculous thing is that there's apparently no way to disable this autosaving "feature". I'm just…
yiinewbie
  • 1,055
  • 2
  • 12
  • 19
47
votes
3 answers

How to Send RubyMine Notifications to Growl?

I'm trying to figure out how to get RubyMine's console to send messages to growl. Specifically, since I run Rspec & Spork through RubyMine, I'd like to get Growl notifications of how many tests passed & failed. I had the command-line version of this…
D. Simpson
  • 1,882
  • 17
  • 32
44
votes
1 answer

RubyMine doesn't see gems from bundle in Docker on Mac OS

I'm using a Docker image with some specified environmental variables, such as GEM_HOME and BUNDLE_PATH. RubyMine connects to the remote Docker SDK just fine, but I can't see gems added by bundler, even though bundler itself is there. My profiler…
Viktor
  • 4,218
  • 4
  • 32
  • 63
43
votes
5 answers

RubyMine - Turning off ability to click in middle of "empty" lines

I've recently begun learning Ruby and I'm really enjoying it so far. The IDE I've chosen to use is RubyMine (as it's similar to PhpStorm). There is however one feature which annoys me greatly and I cannot find the configuration for. What I want to…
bjrnt
  • 2,552
  • 3
  • 27
  • 38
38
votes
9 answers

How to solve 'libcurl' not found with Rails on Windows

This is giving me a headache. I'm continuing a Rails project that started on Linux and I keep getting this when I run Puma on Ruby Mine: Error:[rake --tasks] DL is deprecated, please use Fiddle rake aborted! LoadError: Could not open library…
JStriedinger
  • 549
  • 1
  • 5
  • 8
38
votes
3 answers

Rubymine - enable line numbers

Does anybody know how I can enable line numbers for Ruby (and Ruby on Rails as well) projects?
Alexandre
  • 13,030
  • 35
  • 114
  • 173
35
votes
17 answers

How to solve a RubyMine "'ruby-debug-ide' isn't installed" error

I get the error: Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist. but all gems were successfuly installed: gem 'ruby-debug-ide' gem 'debase' I can run 'rdebug-ide' manually: $…
WWTLF
  • 440
  • 1
  • 5
  • 13
34
votes
4 answers

Rubymine shortcut to insert <%= %>

Is there a shortcut for inserting a <%= %> in Rubymine? I took a look in keymap and didn't see anything.
Tyler DeWitt
  • 23,366
  • 38
  • 119
  • 196
34
votes
5 answers

Ensure newline at EOF in RubyMine

How does one enforce a newline at end of file in RubyMine (v 4.5.3, on Mac OS)? e.g., similar to Sublime Text 2
Marius Butuc
  • 17,781
  • 22
  • 77
  • 111
1
2 3
83 84