wycats / textmate Goto Github PK
View Code? Open in Web Editor NEWCommand-line package manager for textmate
Home Page: http://www.yehudakatz.com
License: MIT License
Command-line package manager for textmate
Home Page: http://www.yehudakatz.com
License: MIT License
$ textmate install "C#"
...
svn: URL 'http://macromates.com/svn/Bundles/trunk/Review/Bundles/C#.tmbundle' is not properly URI-encoded
Not Installed
HOWEVER:
$ textmate install "C%23"
Works just fine.
When installing the gem and running for the first time:
$ textmate
/opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.6/bin/textmate:53: undefined method `method_option' for TextmateInstaller:Class (NoMethodError)
from /opt/local/bin/textmate:19:in `load'
from /opt/local/bin/textmate:19
I'm using wycats-textmate 0.9.6 and thor 0.9.9.
$ textmate remote
The textmate_installer namespace doesn't have a 'remote' task
$ textmate install AppleScript GitHub
/Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/task.rb:90:in parse_argument_error': uninitialized constant Thor::Group (NameError) from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/task.rb:35:in
rescue in run'
from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/task.rb:31:in run' from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/invocation.rb:108:in
block in invoke'
from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/invocation.rb:115:in call' from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/invocation.rb:115:in
invoke'
from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor.rb:137:in block in start' from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor/base.rb:369:in
start'
from /Users/kristianconsult/.gem/ruby/1.9.1/gems/thor-0.13.0/lib/thor.rb:124:in start' from /Users/kristianconsult/.gem/ruby/1.9.1/gems/wycats-textmate-0.9.6/bin/textmate:264:in
<top (required)>'
from /Users/kristianconsult/.gem/ruby/1.9.1/bin/textmate:19:in load' from /Users/kristianconsult/.gem/ruby/1.9.1/bin/textmate:19:in
The api search below:
http://github.com/api/v1/yaml/search/tmbundle
Does not return a 'url' attribute that line 60 is looking for.
%[git clone #{e_sh repo['url'].sub('http', 'git') + '.git'} #{e_sh install_bundles_path}/#{e_sh bundle_name}.tmbundle 2>&1]
If it's no trouble, then could you please update gem on rubyforge to latest.
Works fine with 1.8.7 using rvm. Both 1.9.1 and 1.9.2 raise the following error.
~/.rvm/gems/ruby-1.9.1-p378/gems/textmate-0.9.6/bin/textmate:22:in block in search': undefined method
map' for #String:0x00000100cf6638 (NoMethodError)
GitHub remote bundles are properly detected, but Macromates bundles fail. Output of textmate remote is:
svn: PROPFIND request failed on '/svn/Bundles/trunk/Bundles'
svn: PROPFIND of '/svn/Bundles/trunk/Bundles': 301 Moved Permanently (http://macromates.com)
svn: PROPFIND request failed on '/svn/Bundles/trunk/Review/Bundles'
svn: PROPFIND of '/svn/Bundles/trunk/Review/Bundles': 301 Moved Permanently (http://macromates.com)
Ruby on Rails
Git
...
When executing the following command:
textmate remote
The following error is received:
/opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:29:in `remote': undefined method `[]' for nil:NilClass (NoMethodError)
from /opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:25:in `map'
from /opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:25:in `remote'
from /opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:16:in `each'
from /opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:16:in `remote'
from /opt/local/lib/ruby/gems/1.8/gems/thor-0.9.9/lib/thor/task.rb:27:in `send'
from /opt/local/lib/ruby/gems/1.8/gems/thor-0.9.9/lib/thor/task.rb:27:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/thor-0.9.9/lib/thor/task.rb:20:in `parse'
from /opt/local/lib/ruby/gems/1.8/gems/thor-0.9.9/lib/thor.rb:78:in `start'
from /opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.2/bin/textmate:218
from /opt/local/bin/textmate:19:in `load'
from /opt/local/bin/textmate:19
ruby 1.8.7
ruby-gems 1.3.5
Just installed the wycats-textmate gem via sudo gem install wycats-textmate --source http://gems.github.com
. Now trying to run a few installs, but they always end with "Not Installed".
chris-blooms-laptop:Library chrisbloom7$ textmate install PHP --source=github
Checking out PHP...
Multiple bundles with that name found. Please choose which one you want to install:
1: Cakephp.tmbundle by cakephp
2: Php.tmbundle by textmate
3: Trey Php.tmbundle by trey
Your choice: 2
git clone "git://github.com/textmate/php.tmbundle.git" /Users/chrisbloom7/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/Php.tmbundle 2>&1
Cloning into /Users/chrisbloom7/Library/Application Support/TextMate/Pristine Copy/Bundles/Php.tmbundle...
Not Installed
chris-blooms-laptop:Library chrisbloom7$ textmate install "Trey Frontend" --source=github
Checking out Trey Frontend...
git clone "git://github.com/trey/trey-frontend-tmbundle.git" /Users/chrisbloom7/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/Trey\ Frontend.tmbundle 2>&1
Cloning into /Users/chrisbloom7/Library/Application Support/TextMate/Pristine Copy/Bundles/Trey Frontend.tmbundle...
Not Installed
However, after I run textmate reload
the new bundles do appear in the list.
Also, if I don't specify a source it seems the textmate manager tries to install from multiple sources, even if a previous one is successful.
chris-blooms-laptop:Library chrisbloom7$ textmate install PHP
Checking out PHP...
Multiple bundles with that name found. Please choose which one you want to install:
1: Cakephp.tmbundle by cakephp
2: Php.tmbundle by textmate
3: Trey Php.tmbundle by trey
Your choice: 2
git clone "git://github.com/textmate/php.tmbundle.git" /Users/chrisbloom7/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/Php.tmbundle 2>&1
Cloning into /Users/chrisbloom7/Library/Application Support/TextMate/Pristine Copy/Bundles/Php.tmbundle...
svn co "http://svn.textmate.org/trunk/Bundles/PHP.tmbundle" /Users/chrisbloom7/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/PHP.tmbundle 2>&1
svn: URL 'http://svn.textmate.org/trunk/Bundles/PHP.tmbundle' doesn't exist
svn co "http://svn.textmate.org/trunk/Review/Bundles/PHP.tmbundle" /Users/chrisbloom7/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/PHP.tmbundle 2>&1
svn: URL 'http://svn.textmate.org/trunk/Review/Bundles/PHP.tmbundle' doesn't exist
Not Installed
Even then, it still reports that it is not installed.
I sent you a pull request, to fix an error when you running textmate search with ruby 1.9
It required a tiny commit:
http://github.com/brainopia/textmate/commit/35090a5b87e2cb11048dfe039a62e705855e32e3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.