Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with aborted rake task when packaging gem. #34

Merged
merged 1 commit into from
Aug 6, 2013

Conversation

AlexCline
Copy link
Contributor

When attempting to package the gem, the following error is thrown and the task is aborted.
This patch updates the Rakefile to use the correct task for packaging.

$ rake package:gem
rake aborted!
ERROR: 'rake/gempackagetask' is obsolete and no longer supported. Use 'rubygems/package_task' instead.
/home/acline/Development/puppetlabs_spec_helper/Rakefile:3:in <top (required)>' /home/acline/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:ineval'
/home/acline/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `

'
(See full trace by running task with --trace)

When attempting to package the gem, the following error is thrown and the task is aborted.
This patch updates the Rakefile to use the correct task for packaging.

$ rake package:gem
rake aborted!
ERROR: 'rake/gempackagetask' is obsolete and no longer supported. Use 'rubygems/package_task' instead.
/home/acline/Development/puppetlabs_spec_helper/Rakefile:3:in `<top (required)>'
/home/acline/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/home/acline/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
@puppetcla
Copy link

CLA Signed by AlexCline on 2012-03-18 21:00:00 -0700

@philicious
Copy link

bumping this fix

@hunner
Copy link
Contributor

hunner commented Jul 11, 2013

+1

adrienthebo added a commit that referenced this pull request Aug 6, 2013
Fix issue with aborted rake task when packaging gem.
@adrienthebo adrienthebo merged commit 3f1e23f into puppetlabs:master Aug 6, 2013
@adrienthebo
Copy link
Contributor

summary: merged into master; thanks for the contribution and sorry about the delay in getting this merged!

@AlexCline AlexCline deleted the rake-task-fix branch August 8, 2013 23:17
@chelnak chelnak added the bug label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants