[TxMt] Re: Installing the Cucumber bundle

Leigh Daniels lcdpublic at comcast.net
Tue Apr 8 12:49:03 UTC 2014


Hi, 

[Re-sending this because parts were missing.]

I'm trying to get cucumber working and have tried the previous suggestions to no avail. I'm using the Hello RSpec and Hello Cucumber examples from "The RSpec Book". TextMate: 2.0-alpha.9531 

If I run the cucumber command in the Terminal, it works but in TextMate I get this: 

/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- spec (LoadError)
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:31:in `rescue in <top (required)>'
	from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:28:in `<top (required)>'
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate/feature_helper.rb:1:in `<top (required)>'
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /tmp/cucumber-23006.rb:2:in `<main>'

Here's the RVM setup: 

rvm info

ruby-2.0.0-p247:

  system:
    uname:       "Darwin Mingus.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64"
    system:      "osx/10.9/x86_64"
    bash:        "/bin/bash => GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)"
    zsh:         "/bin/zsh => zsh 5.0.2 (x86_64-apple-darwin13.0)"

  rvm:
    version:      "rvm 1.25.22 (stable) by Wayne E. Seguin <wayneeseguin at gmail.com>, Michal Papis <mpapis at gmail.com> [https://rvm.io/]"
    updated:      "1 minute 9 seconds ago"
    path:         "/usr/local/rvm"

  ruby:
    interpreter:  "ruby"
    version:      "2.0.0p247"
    date:         "2013-06-27"
    platform:     "x86_64-darwin12.3.0"
    patchlevel:   "2013-06-27 revision 41674"
    full_version: "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]"

  homes:
    gem:          "/usr/local/rvm/gems/ruby-2.0.0-p247"
    ruby:         "/usr/local/rvm/rubies/ruby-2.0.0-p247"

  binaries:
    ruby:         "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/ruby"
    irb:          "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb"
    gem:          "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/gem"
    rake:         "/usr/local/rvm/gems/ruby-2.0.0-p247/bin/rake"

  environment:
    PATH:         "/usr/local/rvm/gems/ruby-2.0.0-p247/bin:/usr/local/rvm/gems/ruby-2.0.0-p247 at global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p247/bin:/usr/local/rvm/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin"
    GEM_HOME:     "/usr/local/rvm/gems/ruby-2.0.0-p247"
    GEM_PATH:     "/usr/local/rvm/gems/ruby-2.0.0-p247:/usr/local/rvm/gems/ruby-2.0.0-p247 at global"
    MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.0.0-p247"
    IRBRC:        "/usr/local/rvm/rubies/ruby-2.0.0-p247/.irbrc"
    RUBYOPT:      ""

Thanks for any suggestions. 

**Leigh 



More information about the textmate mailing list