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
-1
votes
1 answer

Running "webdriver-manager start" when rubymine(intellij) starts

I know I have an option to run "Startup tasks" when I start rubymine. I'm working on a Protractor project and I'm trying to start the Selenium( webdriver-manager start) server when I start rubymine, but with no success. I'm trying to run the…
bababuba
  • 31
  • 1
  • 7
-1
votes
1 answer

RubyMine Rails 5 Savon net_http Errno::ECONNRESET SSL_Connect

I think I have read all topics related to this subject, but still no solution. I am using: RubyMine 2017.2.4 Ruby 2.4.1 Rails 5.1.0 Savon When I connect in my rails console with Savon to a server, I get the following error: Errno::ECONNRESET:…
Jerry
  • 198
  • 15
-1
votes
1 answer

Dropdown list for ruby methods of a package in RubyMine IDE?

Usually, the dropdown list in IDEs appear by pressing tab after importing the package and typing its names but not in RubyMine. I have Vim emulation on. I opened up the interactive ruby shell irb but cannot get the autocompletion working for the…
hhh
  • 50,788
  • 62
  • 179
  • 282
-1
votes
1 answer

How to revert changes to an uncommited file

I had a file the way I wanted it and committed it, then changes were made to it and not committed. There is no remote associated with the repo. How do I revert the most recent changes that were not committed?
CJ Jean
  • 971
  • 1
  • 8
  • 10
-1
votes
1 answer

Selenium webdriver 3.3.0 geckodriver error for firefox

I'm trying to execute a ruby script on my Windows 10. Setup Details: Browser :- latest version of Firefox,
ruby -v 2.2.6
gem -v 2.4.5.2
selenium webdriver -v 3.3.0 Now i got an error that it cant find geckodriver. I also downloaded…
-1
votes
1 answer

Cannot locate link css or xpath

I started to learn ruby (rspec , rubymine). I want to do simple click action but I have a problem. Id and name does not exist so, I should use xpath or css. I tried #click on contact link: driver.find_element(:css,…
gadzet
  • 1
  • 1
-1
votes
3 answers

Rails create method to post object not working

I'm new to working with rails. I created a article posting form and when I click the post button it brings me to the articles page but it's not posting what I typed. routes.rb: get 'articles/new' => 'articles#new' post 'articles' =>…
Taylor Gagne
  • 393
  • 2
  • 8
  • 23
-1
votes
1 answer

how to set breakpoint at Mutex#lock?

I'm trying to set a breakpoint every time Mutex#lock is called in RubyMine, but since mutex.rb is a stub I can't seem to do it. Anybody know how I would do this?
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
-1
votes
1 answer

Where is the rubymine embedded Web Preview?

Among the features the rubymine's page mentions: Context toolbar opening the page preview in a browser or in an embedded Web Preview. I would like to have the web preview in the IDE, is it possible?
-1
votes
1 answer

Defining a method in Rubymine returns "undefined method" error

I am executing a class with only this code in rubymine: def saythis(x) puts x end saythis('words') It returns an error: undefined method `saythis', rather than printing the string 'words'. What am I missing here? Replicating this code in irb…
the_lrner
  • 575
  • 1
  • 5
  • 11
-1
votes
1 answer

Ruby on Rails .html.erb file not created

I recently began working with Ruby on Rails. I'm familiar with the MVC concept and using RubyMine as editor. But I'm probably missing something, because when I generated controller via Run Rails Generator, I added Destination Folder to the…
AngieT
  • 11
  • 2
-1
votes
1 answer

How to edit RubyMine reformat code

everyone. Wanted to know, is it possible to edit, how RubyMine reformats code, so that code like this: some_object = { :long_named_item => 'value', :short_item => 'value' } user = User.create!({ :nickname =>…
ExClouds
  • 527
  • 1
  • 7
  • 13
-1
votes
1 answer

How to stop RubyMine giving pathspec error on git commit

When I try to commit changes to my project using the built-in RubyMine git | add and git | commit options I keep getting fatal errors like: Error:error: pathspec 'features/authentication/administrator_logs_in.feature' did not match any file(s)…
digitig
  • 1,989
  • 3
  • 25
  • 45
-1
votes
1 answer

uninitialized constant User::LinkedinConnection

I am trying to implement login using linkedin , in the user model i have the following method: def connect_to_linkedin (auth) self.provider=auth.provider self.uid=auth.uid self.user_linkedin_connection =…
-1
votes
1 answer

Renaming a rails 4.1.0 app - Can't remove name from Rubymine

I renamed my old test app to demo. I replaced test with demo everywhere that I needed to, and the app runs fine. However, in Rubymine, my demo directory is labeled like this: demo [test] (~/demo) How can I get rid of [test] in that name?
Luigi
  • 5,443
  • 15
  • 54
  • 108
1 2 3
83
84