rubymine

rubymine - Could not find gem “jquery-rails”

我是研究僧i 提交于 2019-12-09 16:28:26
问题 I have installed rubymine and Ruby193 (with rubyinstaller). I now create a rails aplication with "preconfigured for selected database" - "mySqL " checkbox selected When I click the execute it prints the following error : D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/resolver.rb:287:in `resolve': Could not find gem 'jquery-rails (>= 0) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound) ideas? 回答1: Install this gem separately: gem install jquery

Change Rubymine Rspec Color

邮差的信 提交于 2019-12-09 13:13:34
问题 Im using Rspec for Testing, but CAN'T find how to change the grey color in to Red and Green. Im testing so much that -especially when an error occurs- im having a hard time reading the passed and failures. Any help would be nice :) 回答1: I got it running by doing the following two things: In your run/debug configurations , enter -c in the Runner options field In your spec_helper.rb , add the following code: RSpec.configure do |config| config.tty = true end Additional info: http://rubyforge.org

RubyMine 2019汉化版 JetBrains集成开发工具2019.3.1 MacOS

你离开我真会死。 提交于 2019-12-08 14:21:34
JetBr AI ns RubyMine 2019 for Mac能更好地理解和导航项目和RAIls的代码库,并且改进编辑和Code Insight功能,主要包括定义,查找用法,代码完成,以及其他操作的准确性和速度。得益于对Ruby和RAIls,JavaScript和CoffeeScript,ERB和HAML,CSS,Sass和Less等的一流支持,可以更高效地生成高质量的代码。利用特定于语言的语法和错误突出显示,代码格式化,代码完成和快速文档。 RubyMine 2019汉化版 https://www.macdown.com/mac/4124.html JetBrAIns RubyMine 2019 破解版新增功能 RuboCop 严重度映射 以前,RubyMine使用预定义的逻辑来映射RuboCop和IDE检查严重性。现在,您可以更改默认映射以增加或减少特定RuboCop攻击的严重性。 代码见解 更好的Struct代码洞察力 借助对结构类型的改进的代码洞察力,您现在可以查找所需结构类型的用法,并导航回其声明。 灯具调用的类型支持 新版本的RubyMine为Minitest / Test :: Unit测试中的夹具调用提供了改进的代码洞察力。编辑器现在为这些调用提供自动完成功能,并且可以将您导航到相关的数据库字段。 滑轨 使用“一切运行”来运行RAIls任务 在v2019

Remove Prototype support from RubyMine: how to?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 12:52:50
问题 I'm using RubyMine 3.1 to develop my Rails3 app and today I switched from Prototype to jQuery for my UJS needs. Customized everything using this example and restarted RubyMine, yet all the auto-complete suggestions and the code inspector errors are still being based on Prototype. How can I remove all the JavaScript code completion & Co. tailored to Prototype? (related to: RubyMine support for jQuery) 回答1: When creating a new Rails application, pass the --skip-prototype flag, e.g.: $ rails new

Getting Susy and Compass installed with ruby on rails

无人久伴 提交于 2019-12-07 16:08:46
问题 I'm just starting with ruby on rails and one of the first things I tried to do was install the gems compass and susy. After figuring out that I needed to include them in the gemfile (I'm using RubyMine and thought it would do it for me), I still got a missing "Could not find", "susy" error when I tried to import susy into one of my css.scss files. I have ruby version 1.9.3 (194) and ruby gems version 1.8.23 Any help on which gems (and versions) I need in my bundle, how to make sure they get

Tuning RubyMine IDE

限于喜欢 提交于 2019-12-07 13:59:48
问题 This happens for every single project that I have tried: If I use terminal and say bundle install or rake db:migrate , it works fine, can see my website , works completely fine. But If I open project in RubyMine and want to do the same tasks it gives me all sorts or errors. I just copy paster some of them as an example. I am sure there is some small project setting that should be set somewhere. But don't know what and where Note: There is a "edit configuration" that is always set on Rails 1.8

RubyMine Folder Tree doesn't refresh

限于喜欢 提交于 2019-12-07 08:49:16
问题 Using RubyMine 2.0.2 for the first time today, on Mac OSX Leopard. If I create files in the filesystem (with, say, script/generate) those new files do not appear in rubymine. I have had limited success with restarting the program, in that the files in the db/ folder are added and removed, but unfortunately new folders in the views directory are not shown. Pardon my french, but wtf? Thanks 回答1: I'm experiencing the same, couple of things seem to work ... Close rubymine, delete the .idea folder

RubyMine search project for file by path

为君一笑 提交于 2019-12-07 06:01:03
问题 In SublimeText 2 I can do: cmd + t And then type either file names or folder names and the results displayed are files that either match files that match the term i'm searching for for files that are in a subfolder of the term i'm searching for, for example if I had directory structure like so: / /models /users /orders /products /views /users edit.rb add.rb /orders edit.rb add.rb I could do cmd + t And the type "orders" and the only two options that would show up would be the /orders/edit.rb

How to change a past git commit+push message in RubyMine?

这一生的挚爱 提交于 2019-12-06 20:02:43
问题 I accidentally gave a wrong message and pushed a commit with it using RubyMine. Is there any way I can correct it? RubyMine way would be preferred not to mess up git, but other trusted ways are also welcome. 回答1: As you said, you already pushed, so it's wise not to change the commit message. The reason for that is that the commit will get another hash which makes git think that the commit you already pushed and the commit whose commit message you changed are different. That is bad! You can

How do I access Linux binaries from Windows when using WSL?

老子叫甜甜 提交于 2019-12-06 14:08:20
问题 I'm experimenting with the new Windows Subsystem for Linux as a way to develop Rails applications in Windows. I have WSL installed and I have Ruby in it but how do I use that Ruby from a Windows GUI application, specifically, RubyMine: This is so I can easily start rails, run tests, etc. 回答1: A few things: Open a bash console and leave it open when you're running RubyMine: As soon as you close your last bash session, WSL tears down all running Linux processes. I believe RubyMine is a 32-bit