RubyMine: "Error running <test name>: Cucumber Gem isn't installed for RVM: ruby-2.0.0-p247 [global]

1,678 views
Skip to first unread message

Teresa Peters

unread,
Sep 11, 2013, 7:05:29 PM9/11/13
to cu...@googlegroups.com
For some background info, I installed Cucumber by installing Calabash.  I have also cross-posted on their forum: https://groups.google.com/forum/#!topic/calabash-ios/cXLpGRIz_58

We were using the default version of Ruby on Mac OSX which is 1.8.  I decided to be the team guinea pig for updating to 2.0 today and ran into a blocking issue.  I did the following:

  1. Installed Homebrew: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
  2. Installed RVM: \curl -L https://get.rvm.io | bash -s stable --ruby
  3. Ran through the instructions here: http://architects.dzone.com/articles/upgrading-ruby-20-mountain
  4. Opened the RubyMine settings
    • [Settings Dialog] Changeed the Ruby SDK and Gems settings to use the new ruby version (Under Ruby SDK)
    • [Settings Dialog] Selected Update Gems
    • [Update Gems Dialog] Selected any items that need updating and then press the Update button

After that, RubyMine no longer plays nice and I get this error message: Error running Smoke Test: Cucumber Gem isn't installed for RVM: ruby-2.0.0-p247 [global] SDK

Anyone else use this setup that might have an idea what caused the issue and how to fix it?

Thanks,

          Teresa

Oleg Sukhodolsky

unread,
Sep 12, 2013, 2:28:15 AM9/12/13
to cu...@googlegroups.com
I think that RubyMine's forum (http://devnet.jetbrains.com/community/ruby?view=discussions&start=0) would be the right place for such kind of questions. 
But I'd check what gemset you are using and also provide information on how you are executing cucumber and what output you have in RubyMine.

Regards, Oleg.

Thanks,

          Teresa

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Teresa Peters

unread,
Sep 12, 2013, 1:14:55 PM9/12/13
to cu...@googlegroups.com

Teresa Peters

unread,
Sep 12, 2013, 1:38:16 PM9/12/13
to cu...@googlegroups.com
It probably should've been obvious, but the fix ended up being to go into the Project Settings and go to the Ruby SDK and Gems page.  From there, you just have to select Install Gems and install Cucumber-Calabash

Lasse Rey-Andersen

unread,
Nov 5, 2013, 1:08:22 AM11/5/13
to cu...@googlegroups.com
Hi there. I just ran into this.
And Teresa's reply helped me solve my issue. For me however I did not need to install anything.
I went to Project Settings->Ruby SDK and Gems page and there Ruby was selected at the top and I could switch that to Ruby [calabash].

Also one way to get to the settings is RubyMine->Preferences->Ruby SDK and Gems.
Reply all
Reply to author
Forward
0 new messages