Error when installing turn via bundler #1974

Closed
jamiebuchanan opened this Issue Jun 9, 2012 · 1 comment

Projects

None yet

2 participants

@jamiebuchanan

issue submitted to turn here: turn-project/turn#93

gem 'turn', require: false, git: 'https://github.com/TwP/turn.git'

in gemfile causes

Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Please include the full output of the command, your Gemfile and Gemfile.lock. Thanks!
/Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler.rb:280:in eval': /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:160: syntax error, unexpected tIDENTIFIER, expecting ']' (SyntaxError) ...] =~ /^home|website/ || r['type'] =~ /^home/ } ... ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:161: syntax error, unexpected tIDENTIFIER, expecting '}' gemspec.homepage = homepage['uri'] if homepage ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:163: syntax error, unexpected tIDENTIFIER, expecting '}' ...hs = metadata['load_path'] || ['lib'] ... ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:163: syntax error, unexpected tIDENTIFIER, expecting '}' ... metadata['load_path'] || ['lib'] ... ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:164: syntax error, unexpected tIDENTIFIER, expecting '}' gemspec.post_install_message = metadata['install_message'] ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:171: syntax error, unexpected tFLOAT, expecting '}' if Gem::VERSION < '1.7.' ^ /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:177: unterminated string meets end of file /Users/jamie/.rvm/gems/ruby-1.9.2-p290@sm-web/bundler/gems/turn-246b88781470/.gemspec:177: syntax error, unexpected $end, expecting '}' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler.rb:280:inrescue in block in load_gemspec'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler.rb:275:in block in load_gemspec' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler.rb:273:inchdir'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler.rb:273:in load_gemspec' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:340:inblock in load_spec_files'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:339:in each' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:339:inload_spec_files'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:572:in load_spec_files' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:372:inlocal_specs'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/source.rb:557:in specs' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:430:inblock in converge_locked_specs'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:419:in each' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:419:inconverge_locked_specs'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:180:in resolve' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:127:inspecs'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/definition.rb:122:in resolve_remotely!' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/installer.rb:48:inrun'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/installer.rb:12:in install' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/cli.rb:220:ininstall'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/vendor/thor/task.rb:22:in run' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/vendor/thor/invocation.rb:118:ininvoke_task'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/vendor/thor.rb:263:in dispatch' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/lib/bundler/vendor/thor/base.rb:386:instart'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.3/bin/bundle:13:in <top (required)>' from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:inload'
from /Users/jamie/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:in `

'

@evanphx
Contributor
evanphx commented Jun 9, 2012

The gem in question is broken because the gemspec is invalid ruby code.

@evanphx evanphx closed this Jun 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment