gem build command creates gem file with "unknown" in the name

James's Avatar


01 Jul, 2010 11:23 AM


when i run

gem build simple_youtube.gemspec

the file that is created is called


I do not know why unknown has been added to the name of the generated gem file?

I would expect it to generate a file called


I am using rubygems-update (1.3.7)

thanks james do |spec| = 'simple_youtube'
  spec.version = '1.0.0'
  spec.platform = 'Gem::Platform::Ruby'
  spec.authors = ['James Shipton'] = ['[email blocked]']
  spec.homepage = ''
  spec.summary = 'ActiveResource extension to Youtube API gdata.'
  spec.description = 'ActiveResource extension to Youtube API gdata, Read only, no Create, Update, Delete access and no API Key required.'

  spec.add_dependency 'active_resource', '>=2.3.5'
  spec.add_development_dependency 'fakeweb'
  spec.add_development_dependency 'test/unit'

  spec.files = Dir.glob('lib/**/*')
  spec.test_files = Dir.glob('test/**/*')
  spec.require_path = 'lib'
  1. Support Staff 1 Posted by Eric Hodel on 01 Jul, 2010 08:18 PM

    Eric Hodel's Avatar

    Your platform is set incorrectly. There's no need to set it if you've got no C extensions or other platform-specific code.

  2. Eric Hodel closed this discussion on 01 Jul, 2010 08:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac