Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

rake release fails silently when gemcutter asks for a password #980

Closed
zilkey opened this issue Jan 23, 2011 · 6 comments
Closed

rake release fails silently when gemcutter asks for a password #980

zilkey opened this issue Jan 23, 2011 · 6 comments
Milestone

Comments

@zilkey
Copy link

zilkey commented Jan 23, 2011

if you create a gem with bundle gem, then try to push that gem and you don't have gemcutter credentials installed on your machine, gemcutter will prompt for credentials. However, the bundle rake task doesn't display the output from gemcutter.

This rake task should probably either raise an error or display the interactive prompt.

@ahawkins
Copy link

I also have experienced this issue. Seems the code does not capture the output directly to show the bundler prompt. Here is a console log for your reference.

imac:cashier adam$ rake release
(in /Users/adam/Projects/cashier)
cashier 0.2.0 built to pkg/cashier-0.2.0.gem
Tagged v0.2.0
Pushed git commits and tags
^Crake aborted!


(See full trace by running task with --trace)
You have new mail in /var/mail/adam
imac:cashier adam$ 
imac:cashier adam$ 
imac:cashier adam$ gem push 
..gemspec        .infinity_test   Gemfile          Rakefile         pkg/             
.git/            .rspec           Gemfile.lock     cashier.gemspec  readme.md        
.gitignore       .rvmrc           LICENSE.txt      lib/             spec/            
imac:cashier adam$ gem push pkg/cashier-0.2.0.gem 
Enter your RubyGems.org credentials.
Don't have an account yet? Create one at http://rubygems.org/sign_up
   Email:   [email protected]
Password:   
Signed in.
Pushing gem to RubyGems.org...
Successfully registered gem: cashier (0.2.0)
imac:cashier adam$ gem -v
1.3.7
imac:cashier adam$ bundle -v
1.0.10

@tcurdt
Copy link

tcurdt commented May 30, 2011

same here

$ gem -v
1.3.7
$ bundle -v
Bundler version 1.0.10

@owahab
Copy link

owahab commented Jun 1, 2011

Same here.

Mac OS X 10.6.7
Ruby 1.9.2 (RVM)
Gem 1.5.2
Bundle 1.0.10

@bjoernalbers
Copy link

Me too.

Mac OS X 10.6.7
Ruby 1.8.7
Gems 1.8.5
Bundler 1.0.14

@owahab
Copy link

owahab commented Jun 2, 2011

Of course, the current workaround is to run
gem push

@thbar
Copy link

thbar commented Jun 10, 2011

Same here today.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants