Reopen #313: rake convert-bundles as documented in README fails #316

Closed
tamouse opened this Issue Oct 17, 2012 · 2 comments

Comments

Projects
None yet
3 participants

tamouse commented Oct 17, 2012

New installation of yasnippet onto Macbook Pro, OS/X 10.8.2. Running the scenario to install drnic's ruby/rails snippets bundle:

Tamaras-MacBook-Pro:plugins tamara$ pushd yasnippet/
~/.emacs.d/plugins/yasnippet ~/.emacs.d/plugins ~/.emacs.d ~
Tamaras-MacBook-Pro:yasnippet tamara$ git submodule init
Submodule 'extras/bundles/html-tmbundle' (http://github.com/drnic/html-tmbundle.git) registered for path 'extras/bundles/html-tmbundle'
Submodule 'extras/bundles/rails-tmbundle' (http://github.com/drnic/ruby-on-rails-tmbundle.git) registered for path 'extras/bundles/rails-tmbundle'
Submodule 'extras/bundles/ruby-tmbundle' (http://github.com/drnic/ruby-tmbundle.git) registered for path 'extras/bundles/ruby-tmbundle'
Tamaras-MacBook-Pro:yasnippet tamara$ git submodule update
Cloning into 'extras/bundles/html-tmbundle'...
remote: Counting objects: 2101, done.
remote: Compressing objects: 100% (535/535), done.
remote: Total 2101 (delta 1478), reused 2085 (delta 1469)
Receiving objects: 100% (2101/2101), 301.78 KiB, done.
Resolving deltas: 100% (1478/1478), done.
Submodule path 'extras/bundles/html-tmbundle': checked out '0bab270103ce27ebd896f80ba303859c549ad3c5'
Cloning into 'extras/bundles/rails-tmbundle'...
remote: Counting objects: 1961, done.
remote: Compressing objects: 100% (672/672), done.
remote: Total 1961 (delta 1424), reused 1745 (delta 1242)
Receiving objects: 100% (1961/1961), 1.21 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (1424/1424), done.
Submodule path 'extras/bundles/rails-tmbundle': checked out '683f6e652cc467e0007f80aa11f174a4d9189f3c'
Cloning into 'extras/bundles/ruby-tmbundle'...
remote: Counting objects: 3269, done.
remote: Compressing objects: 100% (1044/1044), done.
remote: Total 3269 (delta 2102), reused 3197 (delta 2048)
Receiving objects: 100% (3269/3269), 550.55 KiB | 924 KiB/s, done.
Resolving deltas: 100% (2102/2102), done.
Submodule path 'extras/bundles/ruby-tmbundle': checked out '74683ecbb353bd39bb942a6f9c82026f82696cd6'
Tamaras-MacBook-Pro:yasnippet tamara$ sudo gem install plist trollop
Password:
Successfully installed plist-3.1.0
Successfully installed trollop-2.0
2 gems installed
Installing ri documentation for plist-3.1.0...
Installing ri documentation for trollop-2.0...
Installing RDoc documentation for plist-3.1.0...
Installing RDoc documentation for trollop-2.0...
Tamaras-MacBook-Pro:yasnippet tamara$ rake convert-bundles
(in /Users/tamara/.emacs.d/plugins/yasnippet)
rake aborted!
can't convert Hash into Integer
/Users/tamara/.emacs.d/plugins/yasnippet/Rakefile:6:in `read'
(See full trace by running task with --trace)
Tamaras-MacBook-Pro:yasnippet tamara$ 

rrosen commented Jan 27, 2013

I got the same error when using Ruby Enterprise Edition (based of of Ruby 1.8) as my active ruby. I used RVM to switch to ruby 1.9.3 and this fixed it.

Collaborator

npostavs commented Jan 1, 2014

Closing, since this is reported to work with an updated ruby. Note that problems with TextMate bundle conversion should now go to https://github.com/capitaomorte/yasmate/issues.

npostavs closed this Jan 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment