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
17
votes
2 answers

What is the keyboard shortcut for 'Commit' in the 'commit changes' dialogue in RubyMine (and PHPStorm, IntellijIDEA, PyCharm etc)?

After choosing git --> commit changes, I have a dialogue as below with 'Commit' in the bottom right. It seems to have the 'i' underlined, however I can't work out what the shortcut for it is as none of the usual combinations e.g. Command-I,…
Matt Gibson
  • 14,616
  • 7
  • 47
  • 79
17
votes
5 answers

RubyMine Debugger.start is not called yet

I faced this exception when debugging with RubyMine... Debugger.start is not called yet.
Mustafah
  • 4,447
  • 2
  • 24
  • 24
16
votes
2 answers

Is there a way to tell RubyMine to not use webrick?

When I start my app up in RubyMine I want to be able to use unicorn and my unicorn configs. Is there any way to tell it not to use webrick but use something else like unicorn or thin?
Ben
  • 9,725
  • 6
  • 23
  • 28
16
votes
2 answers

Configure RubyMine remote connection to Heroku PostgreSQL

How should I configure RubyMine jdbc datasource to remotely connect to Heroku's PostgreSQL database? Currently I am using such connection URL: jdbc:postgresql://ec2-54-197-241-67.compute-1.amazonaws.com/dbqi9t12t5035q but I get error about lack of…
Kerozu
  • 673
  • 5
  • 15
16
votes
3 answers

Rubymine - how to format the code

I'm using JetBrains Rubymine for developing Rails applications. It's a great IDE but unfortunately I didn't find how to format the hTML or Ruby code. Any suggestiongs?
Alexandre
  • 13,030
  • 35
  • 114
  • 173
15
votes
2 answers

RubyMine to ignore some files when going to file

When going to file (Go To => File, ⇧⌘N on Mac OS X), is there a way to have RubyMine ignore some directories? We have a lot of third party code in vendor which I'd rather ignore.
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
15
votes
2 answers

RubyMine: exclude specific files from search

How to exclude files in log directory from every future search without having to type exclusions in manually.
Paul
  • 25,812
  • 38
  • 124
  • 247
15
votes
2 answers

Which RubyMine generated files should I commit?

RubyMine generates some files in the .idea directory. In one of my projects I see: project_name.iml encodings.xml misc.xml modules.xml vcs.xml workspace.xml Which should I commit to the version control system and which shouldn't?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
15
votes
7 answers

debase LoadError when debugging in RubyMine with ruby 2.0.0 on OS X Mavericks

After upgrading to OS X Mavericks (10.9.2), my RubyMine can no longer debug. It quits unexpectedly with the following error: Testing started at 1:37 PM…
VinnyQ77
  • 385
  • 2
  • 10
15
votes
5 answers

Rubymine Not Locating Gems Specified by BUNDLE_PATH

I am using RubyMine IDE with RVM for Ruby version management and bundler install --path vendor/bundle to keep my gems local. However, RubyMine doesn't seem to be reading my .bundle/config file which specifies where my gems are located with the…
proteantech
  • 421
  • 1
  • 4
  • 8
15
votes
1 answer

"This is a stub, used for indexing" in most methods?

I was investigating curses.rb of the curses gem, I found this everywhere: def attrset(attrs) #This is a stub, used for indexing end # bkgdset(ch) # # Manipulate the background of the current window # with character Integer +ch+ # # see also…
ntl0ve
  • 1,896
  • 3
  • 19
  • 25
15
votes
3 answers

Error installing rubyMine, no SDK specified, but it is listed

Getting "Could not install gems:no SDK specified" when trying to run any command such as starting the rails server. Why am I getting this and how can I get around it? I've had issues before with the JDK but not seen this SDK error.
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
14
votes
2 answers

ERROR: cannot start RubyMine. No JDK found. JDK Version? + desktop link

ERROR: cannot start RubyMine. No JDK found. Please validate either RUBYMINE_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. I'm not sure what JDK version number to use to download it? Also how to create a desktop…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
14
votes
2 answers

Rubymine and yarn

I have an error with my RoR project when I try to start it using "Run" (shift+f10) But when I start the server using rails s in console, it works. ======================================== Your Yarn packages are out of date! Please run `yarn…
14
votes
1 answer

Ruby debugger fails on STDIN.gets user input

I believe you can easily reproduce the issue. Just take a fresh RubyMine (7.1) — either Mac or Windows version, Ruby 2.2, create simple script: puts "Hi, i'm gonna break your debugger :)" user_input = gets puts "Here should be breakpoint" Put the…
aristofun
  • 375
  • 3
  • 18