rubymine

Cannot resolve file in RubyMine

☆樱花仙子☆ 提交于 2019-12-04 02:44:47
I am trying to use RubyMine (v6.3.3) for my rails project. After I added bootstrap-sass gem according its instruction in https://github.com/twbs/bootstrap-sass , RubyMine complains about the line I added in application.js file. However the file is actually in the scope of the projects' external libraries. The project itself works as expected, just this RubyMine warning annoyed me. Did I miss any step in configuration? It is confirmed to be a RubyMine issue. bootstrap-sass gem has added assets to the assets path, and that's why the project works. https://github.com/twbs/bootstrap-sass/blob

RubyMine error: Unable to run gem 'rails'. Cannot find 'rails'

孤街浪徒 提交于 2019-12-04 01:13:29
When I try to create Rails Application with RubyMine, it fails with message "Unable to run gem 'rails'. Cannot find 'rails'". Why? And how to solve it? RubyMine's version is 4.0.2. There's some information about my system: $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] $ gem -v 1.8.11 $ uname -a Linux somehost 3.2.0-2-amd64 #1 SMP Tue Mar 20 18:36:37 UTC 2012 x86_64 GNU/Linux $ lsb_release -d Description: Debian GNU/Linux testing (wheezy) $ rails -v Rails 3.2.3 Here's output of gem list --local: http://pastebin.com/CymzGUpf RubyMine see the same set of gems: http://ompldr

Change Rubymine Rspec Color

a 夏天 提交于 2019-12-03 15:29: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 :) 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/pipermail/rspec-users/2011-January/019327.html Inside spec_helper.rb: RSpec.configure do |config| config

Rails not finding rake-10.5.0

二次信任 提交于 2019-12-03 15:29:04
I am trying to install the rake gem in rails 4.2. Th gem seems to be install fine, but then Rails fails when it tries to run, saying that it cannot see rake-10.5.0 . I am developing in Rubymine and the error I am getting is below, as is my Gemfile. I have tried deleting Gemfile.lock as suggested by other posts, but to no avail. Console: ~/Development/RubymineProjects/Revenant.tech  ls Gemfile Rakefile config lib test Gemfile.lock app config.ru log tmp README.rdoc bin db public vendor ~/Development/RubymineProjects/Revenant.tech  gem install rack Successfully installed rack-1.6.4 Parsing

RubyMine - No Ruby interpreter configured for the project

点点圈 提交于 2019-12-03 12:00:36
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. Bharath Kumar I faced this problem when I moved my project to another PC running a different version of JRuby. resolution: close RubyMine delete .idea/ folder re-open project in RubyMine I had this

Which HTTP web server can I use to debug ruby code using Rubymine 3.0.1?

牧云@^-^@ 提交于 2019-12-03 09:12:40
I've being using Mongrel with Rails 2.3.X and Ruby 1.8.7 without problems, but when I switch to Ruby 1.9.2 and Rails 3, I'm having problems with mongrel to debug. Webrick is just slow, so, do you know any alternatives? Do you know how to fix mongrel to successfully debug rails app using rubymine 3.0.1? I couldn't get Defaults->Rails changes to affect my different configs that were set to 'Default', but I did have success changing the discrete config ('development') directly. Note: For Mongrel you need to have this in your gemfile: gem 'mongrel', '1.2.0.pre2' I'm using RM 3.1.1, Rails 3.0.9 and

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

拜拜、爱过 提交于 2019-12-03 08:36:06
问题 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 回答1: I upgraded from RubyMine to IntelliJ

Useful customizations in .ideavimrc

随声附和 提交于 2019-12-03 06:11:58
I'm interested in hearing how some of you have customized your .ideavimrc file to improve your workflows within your Jetbrains IDE. I'm unsure of its capabilities and would love to know what can be customized. A list of possible customizations would also be helpful. Thanks! Basically you can safely source your ~/.vimrc, but be aware that some tricky :map commands may break IntelliJ shortcuts (that was the reason why IdeaVim switched to its own configuration file instead of ~/.vimrc). The only non-Vim command supported by now (v 0.39) is :action . You can define multi-key bindings for IntelliJ

Configure RubyMine remote connection to Heroku PostgreSQL

我的梦境 提交于 2019-12-03 05:06:34
问题 How should I configure RubyMine jdbc datasource to remotely connect to Heroku's PostgreSQL database? Currently I am using such connection URL: jdbc:postgresql://ec2-54-197-241-67.compute-1.amazonaws.com/dbqi9t12t5035q but I get error about lack of entry for host '62.87.242.2' in pg_hba.conf. I am pretty sure that user and password are correct, because it runs online... :-). Could you help me? Thank you in advance! 回答1: In the Advanced tab, there are a bunch of properties. Set the following

Does RubyMine 2.0 earn its $99 as a Rails IDE? [closed]

好久不见. 提交于 2019-12-03 04:31:21
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . I've seen a lot of blogs talk about RubyMine lately, as a best of breed Rails IDE. Currently, I am using NetBeans IDE for my Ruby and Rails stuff, but I was wondering if anyone here would personally recommend this IDE, and reasons why I should fork out $99 for it. I used NetBeans for a while, before switching to RubyMine some month ago prior the first release. I can say the IDE is