Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8677191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:23:35+00:00 2026-06-12T20:23:35+00:00

In IDea 11.1.3 Build-IU#117.798 and trying to use its Ruby plugin to run specs

  • 0

In IDea 11.1.3 Build-IU#117.798 and trying to use its Ruby plugin to run specs in a project that uses Rails 3.2.8, ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0].

I think it is related to having a homebrew version of postgres installed on OS X Lion Server (10.7.5) which I have on my path before the OS X server version of pg.

In Terminal.app:

$ whereis pg_dump
/usr/bin/pg_dump
$ pg_dump -V
pg_dump (PostgreSQL) 9.1.3
$ psql -V
psql (PostgreSQL) 9.1.3
contains support for command-line editing
$ /path/to/home/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -e 'puts "#{`pg_dump -V`}"'
pg_dump (PostgreSQL) 9.1.3
$ /path/to/home/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -e 'puts "#{`psql -V`}"'
psql (PostgreSQL) 9.1.3
contains support for command-line editing

If I add this to my Rakefile:

raise "whereis pg_dump = #{`whereis pg_dump`}, pg_dump -V = #{`pg_dump -V`}, psql -V = #{`psql -V`}"

In IDea, when I do Run -> Debug -> spec this is what is shown in the console:

/path/to/home/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /path/to/home/.rvm/gems/ruby-1.9.3-p194@some_project/gems/ruby-debug-ide-0.4.17.beta14/bin/rdebug-ide --port 51515 -- /path/to/home/.rvm/gems/ruby-1.9.3-p194@global/bin/rake spec
Testing started at 10:59 AM ...
Fast Debugger (ruby-debug-ide 0.4.17.beta14, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:51515
rake aborted!
whereis pg_dump = /usr/bin/pg_dump
, pg_dump -V = pg_dump (PostgreSQL) 9.0.5
, psql -V = psql (PostgreSQL) 9.0.5

(See full trace by running task with --trace)

Process finished with exit code 137

Any idea why it would be getting a different version for binaries at the same path?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:23:37+00:00Added an answer on June 12, 2026 at 8:23 pm

    PATH is different in RubyMine and in Terminal. To make it the same run RubyMine from Terminal:

    open -a /Applications/RubyMine.app/
    

    Another option is to specify PATH in RubyMine Run/Debug configuration.

    Related topics:

    • https://apple.stackexchange.com/q/51677
    • https://apple.stackexchange.com/q/57385/17551
    • http://devnet.jetbrains.net/docs/DOC-1160
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to build my project with ANT in idea 10 and I get a
I'm trying to use the rails plugin with hudson, but i'm getting the following
I'd like to use Maven to build an IntelliJ IDEA plugin. Googling and searching
my idea conf: macbook 10.7 idea:11.1.2 build #IU 117.418 scala plugin version: 0.5.907 the
I'm trying to grasp the idea with build scripts, nightly builds and technologies like
I have an idea for an app that I would like to build which
I'm trying to build my own template tags. I have no idea why I
How do IntelliJ Idea and Netbeans build java projects? Do they use Ant or
The idea is to build a sampler in JMeter that will upload a file
idea: 11.1.2 build: #IU:117.418 macbook compile err: javac: 无效的标志: /Users/shijinkui/workerspace/scalaTest/src/main/java/Test.scala i find that the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.