rubymine

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

空扰寡人 提交于 2019-12-03 02:04:54
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 link in 11.10? obenda I think using apt-get is easier, see for example this article : sudo apt-get install openjdk-7-jdk Turned out that in the end I had to do several things to get java running and thus resolve the issue: Get Java Download oracle7 jdk at: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html e.g.

Rubymine - Rails gem not found

匿名 (未验证) 提交于 2019-12-03 01:59:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I installed Rails 3.2.3 and Ruby 1.9.3 going through this solution - http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ . It's really amazing and effortless. There were no errors while I did this. Now I try to create a Rails project in Rubymine 4 but there's an error: "Rails version - no Rails gem found". Terminal shows me: alex@ubuntu:~$ rails -v Rails 3.2.3 alex@ubuntu:~$ ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] alex@ubuntu:~$ UPDATE alex@ubuntu:~$ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1

RubyMine: Rails server launcher wasn't found in the project

旧街凉风 提交于 2019-12-03 00:10:05
After importing an existing project into RubyMine, I encountered "Rails server launcher wasn't found in the project" when I Run/Edit Configuration. I've checked this Cannot start the debugger in Rubymine. Rails server launcher wasn't found in project , but deleting the .idea directory and re-open is not helpful. I can rails server in the Terminal successfully and the rails server runs. So I guess it's likely a RubyMine related thing. Thanks, Allen I upgraded from RubyMine to IntelliJ Ultimate IDE 2017.1.5 and I encountered the same error "Run Configuration Error: Rails server launcher wasn't

Is it impossible to use Guard with RubyMine?

☆樱花仙子☆ 提交于 2019-12-02 15:42:57
For some inexplicable reason, RubyMine autosaves every change you make and so every key stroke will trigger Guard to run your tests! And the most ridiculous thing is that there's apparently no way to disable this autosaving "feature". I'm just wondering, RubyMine seems to be a very popular editor among Rails developers and Guard seems to be an indispensable tool used to automate testing. Since Guard is impossible to use reasonably with RubyMine, how do people deal with automating their tests with RubyMine? Netzpirat Im using RubyMine with Guard all day, and in fact, some parts of Guard have

RubyMine debugger

旧巷老猫 提交于 2019-12-02 09:13:09
I used rubyMine and want to run debugger but have error what this ,mine and waht need to doing ? screen /home/ivan/.rbenv/versions/2.3.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/ivan/host/courses/lesson8/bin/rake spec Testing started at 20:27 ... /home/ivan/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.4/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find rake-11.3.0 in any of the sources (Bundler::GemNotFound) Also I have ruby-2.3.3 ruby -v ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux] but I have rvm too rvm env

Rubymine 6.0.2, unable to debug

天涯浪子 提交于 2019-12-01 12:17:34
问题 On my new OSX Mavericks install, I wanted to give Rubymine a try and just can't get the debugger working (although i managed to get it working on Windows 7 with IntelliJ and the ruby plugin). Here's what I did (XCode and commandline tools already installed): homebrew install ruby gem update --system Then I installed Rubymine and opened some of my projects. Upon starting the debugger, rubymine tries to install dependencies: Failed to Install Gems. Following gems were not installed:

Increase / Decrease code font size keyboard shortcut

给你一囗甜甜゛ 提交于 2019-12-01 09:28:19
I know how to change the setting : https://stackoverflow.com/a/11129039/390330 But I want a more live solution like I get with the mouse: Ctrl + Mouse Wheel shortcut. Except I need it to be a keyboard shortcut (e.g in browsers there is Ctrl + + / Ctrl + - ). Is there such a keystroke / or can one be set Nope. Currently only Ctrl+Mouse Wheel Corresponding ticket: http://youtrack.jetbrains.com/issue/IDEA-84884 UPDATE: It has been implemented now (2 months later after writing this answer): Settings / Preferences | Keymap Type font in that screen search box Assign custom shortcuts to Increase and

RubyMine: expected ; or end of line error after some colon

徘徊边缘 提交于 2019-12-01 07:22:55
问题 My rails project works just fine. But rubymine highlights error expected ; or end of line after some colon : . For example before_action :set_answer, only: [:show, :edit, :update, :destroy] format.html { redirect_to @answer, notice: 'Answer was successfully created.' } In above rubymine highlights error after only: and notice: . But it doesn't highlight error after :set_answer, :show, :edit, :update or :destroy . What is the reason for this and How can I fix this? 回答1: With later RubyMine

How to stop/kill server (development) in rubymine

主宰稳场 提交于 2019-12-01 00:33:07
Newbie here. I created a rails project in rubymine to run the default index.html from public folder I pressed 'shift' + F10 key. This is same as rails server from the terminal. This is what I get: /home/bubble/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/bubble/Desktop/Hard Boiled Bubble/bubbles/script/rails server -b 0.0.0.0 -p 3334 -e development => Booting Mongrel => Rails 3.1.0.rc1 application starting in development on http://0.0.0.0:3334 => Call with -d to detach => Ctrl-C to shutdown server Nice clean. But now I cannot shutdown

CoffeeScript IDE for Windows - tried Titanium Studio and RubyMine

无人久伴 提交于 2019-12-01 00:12:55
I'm trying to find a good way to work on CoffeeScript on Windows and be able to process these files quickly to JavaScript in the IDE. RubyMine - if I just open a .coffee file in RubyMine this seems to work. But I see no button or menu option to convert to JavaScript. Titanium Studio - in this IDE there is a Menu option to do the conversion - but when used it seems to call out to gitbash on my machine. At least that is what shows up in the console in the IDE. So I'd like to get one or both of these to work on Windows... or get an alternate suggestion for a good CoffeeScript IDE with the