i tried to make a gem and tried to build the spec file and this is what happened: C:\Users\Al Baker\Documents\Programming\RuBy\string_extensions\lib>gem build str ing_extensions.gemspec ERROR: Gemspec file not found: string_extensions.gemspec any clues?
on 2012-11-28 04:35
on 2012-11-28 04:42
You look like you're in the lib directory, but the gemspec would usually be one directory up. Try "cd .." to go up to C:\Users\Al Baker\Documents\Programming\RuBy\string_extensions and try again?
on 2012-11-28 04:58
tried that and got: C:\Users\Al Baker\Documents\Programming\RuBy\string_extensions>gem build string_extensions.gemspec ERROR: Gemspec file not found: string_extensions.gemspec and tried this: C:\Users\Al Baker\Documents\Programming\RuBy\string_extensions>gem build <spec file> The syntax of the command is incorrect. and tried this: C:\Users\Al Baker\Documents\Programming\RuBy>gem build string_extensions.gemspec Invalid gemspec in [string_extensions.gemspec]: uninitialized constant Gem::Spec iification ERROR: Error loading gemspec. Aborting.
on 2012-11-28 05:13
Does the file "string_extensions.gemspec" actually exist? You have to have written one of these yourself.
on 2012-11-28 06:11
As per earlier comment, I don't think it should be in "lib", but in the directory containing "lib". If it still doesn't work despite that, I'm not sure what's going on.
on 2012-11-28 06:34
i fixed it. seems i misspelled something. but i got a weird response: C:\Users\Al Baker\Documents\Programming\RuBy\string_extensions>gem build string_extensions.gemspec WARNING: no description specified WARNING: no homepage specified Successfully built RubyGem Name: string_extensions Version: 0.0.1 File: string_extensions-0.0.1.gem
on 2012-11-28 06:37
It looks fine to me. The warnings are just mentioning things not specified in the gemspec.
on 2012-11-28 06:46
ok. question? would i add that info in by typing "s.dscription = etc,etc; and s.homepage = blah.com"?
on 2012-11-28 11:22
More or less. You can see here the full list of attributes: http://docs.rubygems.org/read/chapter/20
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.