Questions tagged [rubymine-7]

RubyMine 7 comes with a new plugin that integrates Chef to help you build, deploy and manage your infrastructure.

RubyMine 7 comes with a new plugin that integrates Chef to help you build, deploy and manage your infrastructure.

55 questions
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
11
votes
1 answer

RubyMine shows alert 'Cannot find "before_action" '

RubyMine7.0.1 shows this alert in every controller class. A controller class file below. Thanks. application_controller.rb class ApplicationController < ActionController::Base protect_from_forgery with: :exception helper_method :current_user,…
ksh
  • 399
  • 2
  • 16
5
votes
0 answers

Rubymine can not recognize path

Even for the latest version of Rubymine(7.1), it could not recognise well some paths, for example:

<%= link_to 'Hello!', welcome_say_hello_path %>

Here, welcome_say_hello_path is defined in routes.rb: get 'welcome/say_hello' =>…
LiangWang
  • 8,038
  • 8
  • 41
  • 54
5
votes
3 answers

RubyMine error: Unable to find associated Rails Model for ':users' associations failed

I'm working on some tutorial and i'm having some problems. RubyMine can't find associated Rails Model for ':users' associations failed I'm using: - RubyMine 7 - Ruby version meneger (rvm) - ruby-1.9.3-p551 [ x86_64 ] - ruby-2.1.5 [ x86_64 ] -…
Valor_
  • 3,461
  • 9
  • 60
  • 109
4
votes
1 answer

RubyMine lists too few gems on Vagrant machine

I decided to use remote Ruby SDK in RubyMine 7.1.4. The Vagrant machine (hashicorp/precise32) is set up, RVM, Ruby 2.2.1p85 (2015-02-26 revision 49769), Rails 4.2.4 and other required gems are installed and my application runs when started by rails…
Paul
  • 25,812
  • 38
  • 124
  • 247
4
votes
7 answers

Can I open the ruby app from Rubymine terminal

I just got Rubymine and getting used to ruby on rails on mac. I'm wondering if there is any command to open a ruby app on Rubymine 7, from terminal. Would there be a command like this? $ Rubymine /Path/to/RubyApp
stringRay2014
  • 636
  • 1
  • 11
  • 29
4
votes
1 answer

Connect to DB through Vagrant using RubyMine

I just started working on a ruby project which is set up through Vagrant. I've successfully gotten a remote interpreter working but I'm having trouble connecting to databases. Here's my Vagrantfile: # This Vagrantfile is for development use…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
4
votes
0 answers

RubyMine 7 not auto refresh project folder to update new file

I installed RubyMine 7 on ubuntu 14.04. When create file by using rails generate, rubymine not auto refresh tree folder to update new file in project folder. So can't open file or do something. I always click sync folder by hand T.T. But when i use…
SolomonT
  • 767
  • 1
  • 5
  • 11
3
votes
1 answer

Access denied when pushing gem using Rubymine

I'm developing a Ruby Gem using RubyMine 1.7.4, I have already build the gem but when I try to push it I get this error: /usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/bin/gem push dogeify-1.0.0.gem -k…
moondaisy
  • 4,303
  • 6
  • 41
  • 70
3
votes
1 answer

const or let which use in for statement? ES6. or How to remove RubyMine warning?

let const numbers = [1, 2, 3, 4, 5]; for (let number of numbers) { // prefer-const if (number === 2) { continue; } else if (number == 4) { return; } console.log(number); } eslint say number is never modified, use const…
shingo.nakanishi
  • 2,045
  • 2
  • 21
  • 55
3
votes
2 answers

Cannot start the debugger in Rubymine. Rails server launcher wasn't found in project

I was trying to debug a rails application(4.03) using rubymine IDE version 7.0.2, but when I configure my application like this The IDE complained that Rails Server launcher wasn't found in the project. Please tell me what can I do fix the issue,…
Toan Nguyen
  • 11,263
  • 5
  • 43
  • 59
3
votes
1 answer

Rubymine 7.0: Disable automatic insertion of "end"

I would like to disable automatic insertion of end for def/while/class/etc. in Rubymine 7.0. For example, if I type def and press enter, an end is automatically added below the new line: # Before I press enter: def| # After I press enter: def …
GoBusto
  • 4,632
  • 6
  • 28
  • 45
2
votes
3 answers

Connection failed. Exhausted available authentication methods

I am trying to add deployment configuration using SFTP, however, I get this error: Connectionx.x.x.xfailed. Exhausted available authentication methods I am using OpenSSH config and authentication agent. I've checked ssh agent inside terminal of…
simo
  • 23,342
  • 38
  • 121
  • 218
2
votes
0 answers

RubyMine not showing gem installed from Github with bundler

RubyMine 7 isn't showing a gem installed from Github with bundler. For example: gem 'spree', '3.0.4' - no conflict, all works gem 'spree', github: 'spree/spree', branch: '~> 3.1.0.beta' - not available in "Ruby SDK and Gems" I've tried adding a…
0xdeface
  • 259
  • 2
  • 11
2
votes
2 answers

Setting up Rails Debugging in RubyMine

I am really hoping someone can help with this as it is driving me mad. I am trying to get Debugging up and running in RubyMine on Ubuntu and just having no luck at all. I have spent hours Googling and reading articles, trying different things with…
Dave Essery
  • 207
  • 1
  • 12
1
2 3 4