标签: rubymine

如何卸载RubyMine?

如何卸载RubyMine(来自Mac OSX或其他系统)?

它没有卸载程序(据我所知).在应用程序本身中没有可以卸载的选项.没有文档(除了在他们的网站上"感谢您尝试卸载...").

我可以将应用程序拖到垃圾箱,但我认为还有首选项等也可以卸载.我讨厌丢失文件.

ruby macos rubymine

21
推荐指数
3
解决办法
2万
查看次数

如何将焦点移动到Intellij IDE中的另一个"选项卡组"

基于IntelliJ平台的IDE允许您以各种方式拆分编辑器,但我没有看到使用键盘(例如other-window来自Emacs)将焦点从一个编辑器移动到另一个编辑器的选项.

这样做有"行动"吗?

intellij-idea rubymine pycharm

21
推荐指数
3
解决办法
3729
查看次数

有没有让RubyMine选择像Intellij Idea这样的第一个完成选择?

Intellij想法是这样的:(当我点击enter自动完成代码时会出现在线上)Intellij想法是这样的:

RubyMine是这样的:这个想法不会自动选择第一个.所以我需要点击down按钮并选择一个.像这样的RubyMine

所以我想知道有没有让RubyMine选择像Intellij Idea这样的第一个完成选择?

ruby ruby-on-rails intellij-idea rubymine

21
推荐指数
1
解决办法
1411
查看次数

如何解决RubyMine"'ruby-debug-ide'未安装"错误

我收到错误:

Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist.
Run Code Online (Sandbox Code Playgroud)

但所有的宝石都成功安装:

gem 'ruby-debug-ide'
gem 'debase'
Run Code Online (Sandbox Code Playgroud)

我可以手动运行'rdebug-ide':

$ rdebug-ide
Using ruby-debug-base 0.2.1
Usage: rdebug-ide is supposed to be called from RDT, NetBeans, RubyMine, or
       the IntelliJ IDEA Ruby plugin.  The command line interface to
       ruby-debug is rdebug.
Run Code Online (Sandbox Code Playgroud)

但是当我开始调试时,RubyMine要求安装ruby-debug-ide gem.为什么?

并且,安装后我得到:

Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist.
Run Code Online (Sandbox Code Playgroud)

我正在运行Mac OS X 10.11.3.

ruby ruby-on-rails rubymine

21
推荐指数
5
解决办法
1万
查看次数

'ActiveRecord :: Core :: ClassMethods.find'调用已被弃用

我正在使用RubyMine 2016.1,当我使用find(id)ActiveRecord 的方法时,它向我显示了这个弃用警告:不推荐使用'ActiveRecord :: Core :: ClassMethods.find'调用,但是,在指南中,不推荐使用主键查找.

activerecord ruby-on-rails rubymine

21
推荐指数
1
解决办法
1114
查看次数

IntelliJ + Ruby插件与RubyMine之间有什么大的区别?

作为IntelliJ Idea Ultimate版本的所有者,并且已经安装了IntelliJ Ruby插件,我不得不想知道使用RubyMine IDE有多么不同.

我猜他们分享了很多代码和功能.有哪些主要区别?

如果我进入Ruby世界,我应该购买RubyMine IDE还是继续使用IntelliJ + Ruby插件?

ruby ide intellij-idea rubymine

20
推荐指数
1
解决办法
1万
查看次数

RubyMine单元测试 - 测试框架意外退出

当我尝试从RubyMine中运行测试时,我遇到了问题.但奇怪的是,当我从命令行运行测试时,它工作正常.

"测试框架意外退出"

在此输入图像描述

/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest /Users/sabour/Desktop/EIP/project/test/controllers/categories_controller_test.rb
Testing started at 1:39 AM ...
Run options: --seed 14336

# Running tests:

/usr/local/rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228: warning: nested repeat operator + and ? was replaced with '*'
...

Finished tests in 2.554592s, 1.1744 tests/s, 8.6119 assertions/s.

3 tests, 22 assertions, 0 failures, 0 errors, 0 skips

Process finished with exit code 0
Run Code Online (Sandbox Code Playgroud)

也许问题来自那条线?

/usr/local/rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:警告:嵌套重复运算符+和?被'*'取代......

模式:测试脚本 使用预加载服务器:Ruby参数: -e $ stdout.sync = true; $ stderr.sync = true; load($ 0 = ARGV.shift)-Itest Ruby SDK: project …

unit-testing ruby-on-rails jetbrains-ide rubymine rvm

20
推荐指数
3
解决办法
6258
查看次数

RubyMine:在项目中找不到Rails服务器启动器

将现有项目导入RubyMine后,我在运行/编辑配置时遇到"项目中未找到Rails服务器启动器".

我已经检查过这个无法在Rubymine中启动调试器.在项目中找不到Rails服务器启动程序,但删除.idea目录并重新打开是没有用的.

我可以rails server在终端中成功运行并运行rails服务器.所以我猜这可能与RubyMine有关.

谢谢,艾伦

ruby ruby-on-rails rubymine

20
推荐指数
2
解决办法
9009
查看次数

如何解决Windows上的Rails找不到的'libcurl'

这让我很头疼.我正在继续一个从Linux开始的Rails项目,当我在Ruby Mine上运行Puma时我会继续这样做:

Error:[rake --tasks] DL is deprecated, please use Fiddle
rake aborted!
LoadError: Could not open library 'libcurl': The specified module could not be found.
Could not open library 'libcurl.dll': The specified module could not be found.
Could not open library 'libcurl.so.4': The specified module could not be found.
Could not open library 'libcurl.so.4.dll': The specified module could not be found.
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/ffi-1.9.14-x86-mingw32/lib/ffi/library.rb:147:in `block in ffi_lib'
[...]
Run Code Online (Sandbox Code Playgroud)

现在,我尝试了什么?

  • 我按照这个步骤在Windows上成功安装了Puma
  • 我下载curl-7.50.1-win32-mingw并把它放在"C:/ curl"
  • 我将C:/ curl/bin和C:/ curl/include添加到PATH中
  • 我成功安装了curb gem gem …

windows curl ruby-on-rails libcurl rubymine

19
推荐指数
3
解决办法
5254
查看次数

18
推荐指数
2
解决办法
7983
查看次数