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

James's Avatar

James

01 Jul, 2010 11:23 AM

Hi

when i run

gem build simple_youtube.gemspec

the file that is created is called

simple_youtube-1.0.0-unknown.gem

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

simple_youtube-1.0.0.gem

I am using rubygems-update (1.3.7)

http://github.com/ionysis/simple_youtube

thanks james

Gem::Specification.new do |spec|
  spec.name = 'simple_youtube'
  spec.version = '1.0.0'
  spec.platform = 'Gem::Platform::Ruby'
  spec.authors = ['James Shipton']
  spec.email = ['[email blocked]']
  spec.homepage = 'http://github.com/ionysis/simple_youtube'
  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'
end
  1. Support Staff 2 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.

    http://rubygems.rubyforge.org/rubygems-update/Gem/Specification.htm...

  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

Generic

? 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

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM