Hi,
I am trying to use the Cucumber bundle with TextMate 2.0-alpha.9503:
https://github.com/cucumber/cucumber-tmbundle
I am a little confused about the proper way to install it. I tried:
cd ~/Library/Application\ Support/Avian/ git clone https://github.com/cucumber/cucumber-tmbundle Cucumber.tmbundle
But after restarting TextMate, I don’t see any indication that the bundle is loaded. I don’t know if this is because the bundle is incompatible with TextMate 2 (it was last touched over 2 years ago) or because I’m installing it wrong.
Any suggestions what to try next? Thanks,
Trevor
On Jan 27, 2014, at 1:01 PM, Trevor Harmon trevor@vocaro.com wrote:
cd ~/Library/Application\ Support/Avian/
No, it needs to be inside the Bundles directory inside that. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Ah silly mistake. However, even after installing the bundle to the Bundles directory, it still didn’t show up, despite quitting and restarting a couple times.
Eventually I discovered that creating a new bundle from within the app (Bundles > Edit Bundles, then File > New) somehow alerts TextMate that the Cucumber bundle is there. It appeared after I created the new bundle, quit, and restarted.
Thanks for your help,
Trevor
On Jan 27, 2014, at 2:37 PM, Matt Neuburg matt@tidbits.com wrote:
On Jan 27, 2014, at 1:01 PM, Trevor Harmon trevor@vocaro.com wrote:
cd ~/Library/Application\ Support/Avian/
No, it needs to be inside the Bundles directory inside that. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 28.01.2014, at 06:47, Trevor Harmon trevor@vocaro.com wrote:
Ah silly mistake. However, even after installing the bundle to the Bundles directory, it still didn’t show up, despite quitting and restarting a couple times.
The proper place for manually installed bundles is ~/Library/Application Support/Avian/Pristine Copy/Bundles
Cloning directly to this directory should work without the need to restart.
You can double click the cloned Cucumber.tmbumdle in Finder and Textmate will put it in the correct directory for you.
Eventually I discovered that creating a new bundle from within the app (Bundles > Edit Bundles, then File > New) somehow alerts TextMate that the Cucumber bundle is there. It appeared after I created the new bundle, quit, and restarted.
The Avian/Bundles/ directory (without Pristine Copy in between) is where diffs / customizations of installed bundles and you own created ones land if you edit them via the bundle editor, that’s why this worked somehow.
Thanks for the tips! Double-clicking the bundle sounds like the fool-proof method I should be doing from now on.
I would like to try it, but now I’ve run into the opposite problem: How do I *uninstall* the Cucumber bundle? I want to wipe it out completely just to verify the double-clicking method. However, no matter what I do, it won’t go away. I have deleted the Avian and TextMate folders in both ~/Library/Application\ Support and /Library/Application\ Support, and I even tried deleting and reinstalling TextMate itself, but when I relaunch, the Cucumber bundle is still there. Is there some other folder I need to delete?
Thanks,
Trevor
On Jan 27, 2014, at 10:26 PM, Kai Wood lists@kwood.eu wrote:
On 28.01.2014, at 06:47, Trevor Harmon trevor@vocaro.com wrote:
Ah silly mistake. However, even after installing the bundle to the Bundles directory, it still didn’t show up, despite quitting and restarting a couple times.
The proper place for manually installed bundles is ~/Library/Application Support/Avian/Pristine Copy/Bundles
Cloning directly to this directory should work without the need to restart.
You can double click the cloned Cucumber.tmbumdle in Finder and Textmate will put it in the correct directory for you.
Eventually I discovered that creating a new bundle from within the app (Bundles > Edit Bundles, then File > New) somehow alerts TextMate that the Cucumber bundle is there. It appeared after I created the new bundle, quit, and restarted.
The Avian/Bundles/ directory (without Pristine Copy in between) is where diffs / customizations of installed bundles and you own created ones land if you edit them via the bundle editor, that’s why this worked somehow.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 29 Jan 2014, at 20:13, Trevor Harmon wrote:
[…] However, no matter what I do, it won’t go away. I have deleted the Avian and TextMate folders in both ~/Library/Application\ Support and /Library/Application\ Support, and I even tried deleting and reinstalling TextMate itself, but when I relaunch, the Cucumber bundle is still there. Is there some other folder I need to delete?
It sounds like you have the fs-events issue¹. This is also why TextMate didn’t initially detect the installed bundle.
As a workaround you can delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary and relaunch TextMate (every time you make “manual” changes to the TextMate application support folder, which normally should be rare).
¹ http://feedback.livereload.com/knowledgebase/articles/86239-os-x-fsevents-bu...
Rebooting didn’t work, but deleting the cache folder did. Thanks for the tip,
Trevor
On Jan 29, 2014, at 6:01 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 29 Jan 2014, at 20:13, Trevor Harmon wrote:
[…] However, no matter what I do, it won’t go away. I have deleted the Avian and TextMate folders in both ~/Library/Application\ Support and /Library/Application\ Support, and I even tried deleting and reinstalling TextMate itself, but when I relaunch, the Cucumber bundle is still there. Is there some other folder I need to delete?
It sounds like you have the fs-events issue¹. This is also why TextMate didn’t initially detect the installed bundle.
As a workaround you can delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary and relaunch TextMate (every time you make “manual” changes to the TextMate application support folder, which normally should be rare).
¹ http://feedback.livereload.com/knowledgebase/articles/86239-os-x-fsevents-bu...
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi,
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:
Here's the RVM setup:
Thanks for any suggestions.
**Leigh
-- View this message in context: http://textmate.1073791.n5.nabble.com/Installing-the-Cucumber-bundle-tp27360... Sent from the textmate users mailing list archive at Nabble.com.
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@gmail.com, Michal Papis mpapis@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@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@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
On 8 Apr 2014, at 19:49, Leigh Daniels wrote:
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
As I do not have that book (or any experience with Cucumber), I can’t test if the bundle works myself (also, you didn’t mention what bundle you installed or what command from that bundle you ran).
[…] 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)
Seems to be missing a required ‘spec’ include.
[…] from /tmp/cucumber-23006.rb:2:in `<main>'
Line two of that (generated?) temporary script seems to trigger it. Would be interesting to know what that line is.