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
14
votes
3 answers

Why does Rubymine suggests I use single-quotes over double-quotes on strings?

Every time I use double-quoted strings, I'm getting this kind of suggestion: When I click the bulb icon I'm getting an option to convert that string into a single-quoted string. Can someone explain why single-quoted strings are preferred over…
PrivateUser
  • 4,474
  • 12
  • 61
  • 94
14
votes
1 answer

How do I use bundle exec rake on RubyMine?

i found this post in stack overflow rubymine error: You have already activated rake 10.0.3, but your Gemfile requires rake 0.9.6. Using bundle exec may solve this that offesr two possible solutions: ignoring global gem path in the project…
gaudi_br
  • 183
  • 2
  • 12
13
votes
1 answer

How uninstall pycharm and rubymine?

I installed pycharm and rubymine on linux mint, my trial has ended. how to remove them? can i just do sudo apt-get remove --purge pycharm or is there an uninstall.sh somewhere?
user
  • 973
  • 4
  • 14
  • 29
13
votes
4 answers

rubyMine 'Unable to attach test reporter to test framework'

rubyMine 'MiniTest framework was detected' error when running all model tests. I can run all model tests at the regular command line. e.g. rake spec:models When I use rubyMine: I can run one model test ok. However when I try to run all tests in…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
13
votes
1 answer

Completely clear the console in RubyMine (or WebStorm or PhpStorm)

I am trying to see if there is a way to "completely" clear the console in RubyMine (or any other JetBrains IDE like WebStorm or PhpStorm). I've seen an answer for this question: RubyMine any way to clear the inbuilt console. Unfortunately, that…
IngageStroliaC
  • 245
  • 1
  • 3
  • 8
13
votes
4 answers

Not reading ENV variables in database.yml (Rails 4.2.0, RubyMine 7, Postgres, Ruby 2.2.0, DotEnv)

I'm trying to set up a simple rails app (4.2.0, ruby 2.2.0) with PostgreSQL (9.3) using RubyMine (7.0.4); I'm planning on deploying to Heroku. I'm having problems with two things: First (and more important), my ENV variables aren't working in my…
Lee
  • 686
  • 1
  • 10
  • 23
13
votes
1 answer

Configure rubymine with vagrant and rbenv

I have a rails project with the following development environment: Host machine: MacOS 10.8 Vagrant with precise 64 Rubymine Rbenv Everything works fine: rbenv is installed in the guest machine, and my rails server is started on port 3000 in the…
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236
13
votes
4 answers

RubyMine is showing the error message: "Error running Development: MyProject: Rails 3.x launcher script was found instead of Rails 4.x one"

I'm updating my project from Rails 3.2.12 to 4.0.0. I made all necessary corrections but when I try to execute my app using RubyMine 5.4 I'm receiving the message below: Error running Development: MyProject: Rails 3.x launcher script was found…
13
votes
5 answers

How to rename project in RubyMine

I'm running Rubymine 5.4.x on Windows 7 (but that shouldn't really matter for this question) and I have managed to delete projects and seemingly rename them before, but I am stuck this time. In the past, this is what I've done: rename all…
Flak DiNenno
  • 2,193
  • 4
  • 30
  • 57
13
votes
3 answers

Could not find generator mongoid:config

I have the following error when i try to rails generate mongoid:config Could not find generator mongoid:config. If i specify gem 'mongoid', '3.1.4', it gives me the following: Bundler could not find compatible versions for gem "activemodel": …
Eugene
  • 365
  • 6
  • 21
12
votes
3 answers

How to attach the Rubymine IDE debugger to a shell process?

I want to use Rubymine's IDE debugger to debug a ruby process running in the command shell, as it is spawned, e.g. by "rails console". I've gotten great mileage out of the debugger when running the web server (from within Rubymine) or test suites…
Wolfram Arnold
  • 7,159
  • 5
  • 44
  • 64
12
votes
1 answer

Heroku and RubyMine

Has anyone managed to integrate Heroku with RubyMine? I have Heroku installed and integrated with Git (which is integrated with RubyMine) but I see no way to push to Heroku without dropping to the Terminal.
D. Simpson
  • 1,882
  • 17
  • 32
12
votes
1 answer

How to fix "Run Configuration Error: [No Rails found in SDK]"?

I am looking at a Rails project which I would like to be able to work with using IntelliJ 15.0.3 (full version) under Ubuntu 15.10. The project builds with "bundle install". Rails run from the command line using "rails s". IntelliJ (and…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
12
votes
1 answer

Getting undefined method `+' for nil:NilClass only with RubyMine debugger on

My environment: Ubuntu 14 Ruby 2.2.1 Rails 4.2 Newly created rails application, with 1 action: class FramesController < ApplicationController def index return 0 end end Wherever I put a breakpoint (in presented case at return 0), I get…
Paweł Duda
  • 1,713
  • 4
  • 18
  • 36
12
votes
1 answer

Is there a way to force long lines to be intelligently wrapped in RubyMine?

File --> Settings --> Code Style --> Ruby offers a handful of options for how you'd like to format your code, but I don't see a way to set or enforce a max line width. Is this supported somewhere else, perhaps in a plugin? I'd be okay with having…
Travis Bear
  • 13,039
  • 7
  • 42
  • 51