Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing file ? #6

Open
bastianh opened this issue May 11, 2011 · 3 comments
Open

missing file ? #6

bastianh opened this issue May 11, 2011 · 3 comments

Comments

@bastianh
Copy link

/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
Copy link

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
Copy link

iMax-pp commented Jun 2, 2011

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.

@DaleLJefferson
Copy link

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

TassoLee added a commit to TassoLee/go-tmbundle that referenced this issue Aug 19, 2011
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
AlanQuatermain pushed a commit that referenced this issue Nov 22, 2011
#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
AlanQuatermain pushed a commit that referenced this issue Nov 22, 2011
* '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
puchupala pushed a commit to puchupala/go-tmbundle that referenced this issue Nov 29, 2011
* 'master' of git://github.com/TassoLee/go-tmbundle:
  revert goroot
  fixed issue AlanQuatermain#6
puchupala added a commit to puchupala/go-tmbundle that referenced this issue Nov 29, 2011
* '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 AlanQuatermain#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.
jish pushed a commit to jish/go-tmbundle that referenced this issue Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants