rubymine

RubyMine - No Ruby interpreter configured for the project

China☆狼群 提交于 2020-01-01 04:12:06
问题 I go to Settings - Ruby SDK and Gems, and pick out C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe . It loads up a bunch of gems on the right side, and looks like it's going to work. I hit OK, and still have awful syntax highlighting and it still thinks it has no Ruby interpreter. I've tried invalidating the cache, and even downloading a new version of ruby and pointing it to the new binary ruby.exe file. 回答1: I faced this problem when I moved my project to another PC running a different version of

How to stop/kill server (development) in rubymine

北战南征 提交于 2019-12-30 07:21:11
问题 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

Rubymine - Rails gem not found

左心房为你撑大大i 提交于 2019-12-29 04:47:08
问题 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

Webstorm not recognising JavaScript file

£可爱£侵袭症+ 提交于 2019-12-28 11:41:29
问题 Webstorm doesn't recognize one of my .js files as a JavaScript file so I'm losing syntax highlighting and being able to add break points. I've looked in the workspace.xml file and the file in question seems to have similar settings to other .js files that work correctly. If I change the name of the file it works ok. So somehow Webstorm is stuck on misinterpreting the type of a file that has this name. Where else can I edit the project? 回答1: So I see three possible reasons of the problem: 1)

Debugging Rubymine - only debug project files?

久未见 提交于 2019-12-24 15:52:27
问题 I've been using RubyMine and like it a lot so far. Is there any way to only step through my project files? When I click "Step Over" or "Step Out" I'm taken into framework and library files, which I don't need to look at. 回答1: RubyMine doesn't currently have this feature; here is the relevant enhancement request. 来源: https://stackoverflow.com/questions/7732660/debugging-rubymine-only-debug-project-files

script/rails was not found, when running rails server (Rails 4)?

泪湿孤枕 提交于 2019-12-24 06:51:25
问题 I'm getting this error in RubyMine when I try to start the server in debugging mode. 5:36:02 AM Error running Development: depot: Rails server launcher '/Users/eka/dev/tutorials/agile-rails-dev/depot/script/rails' wasn't found in project My Rubymine version is 5.0. 回答1: Currently this is fixed on the master branch, and most likely the fix will be available in 5.X EAP during the next couple of weeks. A quick workaround is: You can copy "rails" script from "bin" to "script" folder as a

RubyMine 3.2 failing to find libmysqlclient.18.dylib on MacOS Lion

别等时光非礼了梦想. 提交于 2019-12-24 01:47:08
问题 Just upgraded to RC1 of RM 3.2 on MacOS Lion and couldn't run the application anymore. Running with rvm. On startup the mysql2 gem reported it couldn't find libmysqlclient.18.dylib on a dlopen. Solved it. Posting the solution here so it will help somebody save some time. Using Apple's Property List Editor create an entry in ~/.MacOS/environment.plist call LD_LIBRARY_PATH and set the value to /usr/local/mysql/lib or whereever your MySQL libraries live. Logout and log back in and RubyMine and

Rubymine is not able to find a step definition, located inside a gem

怎甘沉沦 提交于 2019-12-23 22:30:23
问题 Rubymine returns an alert of "Undefined step reference" for the two steps of this scenario. This cucumber test is like this: @smoke Scenario: Update profile Smoke test. Given I navigate to this test webpage And In Test, I click the element of "test_link" This 2 steps are located inside a gem, following this structure: gemname/lib/features/step_definitions/web_shared_steps.rb And (/^I navigate to this (.*?)$/) do |web| web = '$' + web.downcase.gsub(' ', '_') @browser.goto eval(web) end Then (

How can I stop RubyMine/IntelliJ from closing my buffers?

会有一股神秘感。 提交于 2019-12-23 15:04:57
问题 RubyMine 6.3.3 (which uses the IntelliJ codebase) seems to quietly close file buffers when I have ten files open and open another. How can I disable or change this limit? 回答1: Go to Preferences -> Editor -> Editor Tabs. Under "Tab Closing Policy", set "Tab limit" to whatever you like. Use the maximum of 99 if you don't want tabs to auto-close at all. 来源: https://stackoverflow.com/questions/25271631/how-can-i-stop-rubymine-intellij-from-closing-my-buffers