Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

missing file ? #6

Open
bastianh opened this Issue · 3 comments

4 participants

@bastianh

/Users/user/Library/Application Support/TextMate/Bundles/go.tmbundle/Support/goerrs.rb:3:in `require': no such file to load -- /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Build

I don't have a Build.rb in this directory.. are there any dependencies to other bundles?

@thrashr888

I have the same issue:

/Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/goerrs.rb:3:in 'require': no such file to load -- /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder (LoadError) from /Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/goerrs.rb:3 from /Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/gomate.rb:5:in 'require' from /Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/gomate.rb:5 from /tmp/temp_textmate.rSHpsG:3:in 'require' from /tmp/temp_textmate.rSHpsG:3

I tried commenting out goerrs.rb:line 3 and then got another error in the Textmate run window:

<h3 class="error">Couldn't find 6g</h3>

<p>Locations searched:</p>
<p><pre>
/Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/usr/bin
/bin
/usr/sbin
/sbin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
</pre></p>

I then ln -s the 6g and 6l files into /Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/bin/ and got a bunch of other errors.

/Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/goerrs.rb:24:in `link_errs': uninitialized constant Go::Builder (NameError) from /Users/thrashr888/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/gomate.rb:16:in `gomate' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:116:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:116:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/io.rb:44:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/io.rb:44:in `exhaust' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/io.rb:44:in `each_line' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/io.rb:44:in `exhaust' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:227:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:140:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:228:in `process_output_wrapper' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:139:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/htmloutput.rb:69:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/htmloutput.rb:69:in `show' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:110:in `run' from /Users/user/Library/Application Support/TextMate/Bundles/Go.tmbundle/Support/gomate.rb:15:in `gomate' from /tmp/temp_textmate.EiJpqj:5

...and now I give up. :(

@iMax-pp

I have the same issue.

It seems like, in the latest release of TextMate, the Builder.rb script has been removed from SharedSupport/Support/lib.
Hopefully, the PHP bundle still contains this file. So a simple workaround is to ln -s the Builder.rb file from the PHP bundle (like following).

ln -s /Applications/TextMate.app/Contents/SharedSupport/Bundles/PHP.tmbundle/Support/lib/Builder.rb /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb

A better solution might be to include the file directly in Go bundle.

@DaleJefferson

Same issue with Textmate Version 1.5.10 (1631) on Mac OS lion

@TassoLee TassoLee referenced this issue from a commit in TassoLee/go-tmbundle
@TassoLee TassoLee fixed issue #6
AlanQuatermain#6  This issue is
due to TextMate Version 1.5.10 (1631) removed Builder.rb from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb
2912e00
@AlanQuatermain AlanQuatermain referenced this issue from a commit
@TassoLee TassoLee fixed issue #6
#6  This issue is
due to TextMate Version 1.5.10 (1631) removed Builder.rb from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb
8c24f91
@AlanQuatermain AlanQuatermain referenced this issue from a commit
Jim Dovey Merge branch 'master' of github.com:AlanQuatermain/go-tmbundle
* 'master' of github.com:AlanQuatermain/go-tmbundle:
  Use GOBIN shell variable instead of PATH if present
  Fix for source filenames with spaces bug.
  revert goroot
  fixed issue #6
05c2fe8
@KnightBaron KnightBaron referenced this issue from a commit in KnightBaron/go-tmbundle
Jim Dovey Merge branch 'master' of git://github.com/TassoLee/go-tmbundle
* 'master' of git://github.com/TassoLee/go-tmbundle:
  revert goroot
  fixed issue #6
54628bd
@KnightBaron KnightBaron referenced this issue from a commit in KnightBaron/go-tmbundle
@KnightBaron KnightBaron Merge branch 'master' of git://github.com/AlanQuatermain/go-tmbundle
* 'master' of git://github.com/AlanQuatermain/go-tmbundle:
  Added 'error' type from Go version 1.0
  I hate tabs. And I hate RDoc being sensitive to different amounts of whitespace via tabs/spaces. Sigh.
  Tweaks to RDoc formatting in README/History.
  Added 'deferred function call' snippet and updated readme/history for release 1.3.
  Use GOBIN shell variable instead of PATH if present
  Fix for source filenames with spaces bug.
  revert goroot
  fixed issue #6
  Removed some very annoying extra newlines in snippets.
  added x86_64 as a valid architecture string
  Size modifiers are not optional for float or complex.
89b6121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.