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
21
votes
5 answers

How to Uninstall RubyMine?

How do you uninstall RubyMine (from Mac OSX or other systems)? It doesn't come with an uninstaller (from what I can tell). There are no options to uninstall in the application itself. There is no documentation (except a "Thank you for trying to…
Dominic Tancredi
  • 41,134
  • 7
  • 34
  • 50
21
votes
1 answer

'ActiveRecord::Core::ClassMethods.find' call is deprecated

I'm using RubyMine 2016.1 and when I use the find(id) method of ActiveRecord it shows me this deprecation warning: 'ActiveRecord::Core::ClassMethods.find' call is deprecated, however, in the guide, find with primary key is not deprecated.
ppascualv
  • 1,137
  • 7
  • 21
21
votes
2 answers

Is there anyway to let RubyMine choose first completion choice like Intellij Idea?

Intellij Idea like this:(when I click enter the auto completion code will appear on the line) RubyMine like this: The idea does not auto choose the first one.So I need to click down button and choose the select one. So I want to know is there anyway…
Marshal Chen
  • 1,985
  • 4
  • 24
  • 35
21
votes
4 answers

Useful customizations in .ideavimrc

I'm interested in hearing how some of you have customized your .ideavimrc file to improve your workflows within your Jetbrains IDE. I'm unsure of its capabilities and would love to know what can be customized. A list of possible customizations would…
domi91c
  • 1,962
  • 4
  • 23
  • 38
20
votes
3 answers

How do I get Jetbrains IDE's embedded terminal to recognize ALT/Option as the Meta key?

I'm currently working in WebStorm, but also use IDEA and RubyMine. I am using the embedded terminal and would like to get the Alt/Option key to be recognized as a the meta key, or at least send key+ESC.
zen
  • 571
  • 5
  • 13
20
votes
3 answers

Can I tell or hint to RubyMine what type a local or instance variable is?

I'm trying to leverage the RubyMine quick-docs and code completion. I was pleased to discover how well it integrated the YARD-style comments: # @param [Numeric] width # @param [Array] values # @return [Widget] def foo(width,…
WiseOldDuck
  • 3,156
  • 2
  • 24
  • 27
19
votes
3 answers

Only two spaces of indentation in JavaScript in RubyMine?

Is there a way to configure RubyMine 3.1 to only use two spaces to indent JavaScript?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
19
votes
3 answers

RubyMine debugger with Rake?

Using RubyMine 3.0, I set up a Rake configuration to run a Unit Test. Then I set some breakpoints, then ran the Rake task. No breakpoints were hit, the test just executed like normal and then exited. Does the RubyMine debugger not work through Rake?
ep4169
  • 2,345
  • 2
  • 17
  • 20
19
votes
2 answers

How can I configure my RubyMine with devise gem?

When I use the one in RubyMine I don't see autocompletion for helpers (like current_user, destroy_user_session_path, etc.). It's very bad :( Can someone help me? :)
Alex Ivashkin
  • 320
  • 1
  • 13
18
votes
5 answers

RubyMine debugger error

i'm using RubyMine 6.3 buth I have some problems with debugger C:\Ruby200\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/Ruby200/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide …
Malwurf
  • 193
  • 1
  • 2
  • 9
18
votes
6 answers

Unable to debug in RubyMine 4.5 using Ruby 1.9.3

My apologies for the length of the question, but I want to make it clear I am not making any stupid mistakes! So, I am struggling to get debugging working in RubyMine 4.5 using Ruby 1.9.3, my steps are as follows: Fresh (i.e. having removed all…
rwb
  • 4,309
  • 8
  • 36
  • 59
17
votes
2 answers

Syncing Project View with Editor in RubyMine

This should be obvious, but I can't see how to do it. Just want the project browser to stay in sync with the current file I'm editing. I'm using IdeaVIM plugin in case that's causing any issues, though I think it's just default value not to sync.
mahemoff
  • 44,526
  • 36
  • 160
  • 222
17
votes
3 answers

Is it possible to run terminal/command prompt inside Rubymine?

I would work much faster if I could have some kind of command line running inside rubymine, is this possible? When testing I repeatedly have to switch to my terminal window and it gets quite annoying. I can run rails console and also the sandboxed…
LondonGuy
  • 10,778
  • 11
  • 79
  • 151
17
votes
3 answers

Pros and cons to RubyMine and TextMate

I need to move to a "serious" Ruby (on Rails) IDE now that Netbeans is discontinuing Ruby support. I don't want to start a trolling war, but could I'd love to hear the pros and cons of using TextMate or RubyMine as an IDE, to help me choose which I…
iainbeeston
  • 1,851
  • 1
  • 21
  • 20
17
votes
3 answers

Uninitialized constant error in Ruby class

I have these two classes in RubyMine: book.rb: class Book def initialize(name,author) end end test.rb: require 'book' class teste harry_potter = Book.new("Harry Potter", "JK") end When I run test.rb, I get this…
TheKilz
  • 321
  • 1
  • 3
  • 10
1 2
3
83 84