2011-05-22 75 views
5

任何人都有解决这个问题?无法使水龙头宝石0.3.23与heroku宝石一起工作2.1.4

它发生在推拉上。

~ heroku db:push 
Taps Load Error: no such file to load -- taps/operation 
You may need to install or update the taps gem to use db commands. 
On most systems this will be: 

sudo gem install taps 
~ sudo gem list 

*** LOCAL GEMS *** 

bundler (1.0.13) 
mime-types (1.16) 
rack (1.2.2) 
rake (0.9.0) 
rest-client (1.6.1) 
sequel (3.20.0) 
sinatra (1.0) 
sqlite3 (1.3.3) 
sqlite3-ruby (1.3.3) 
taps (0.3.23) 
~ 
~ heroku version 
heroku-gem/2.1.4 

回答

3

如果您正在使用捆扎机,你可以尝试在gem "taps"申报到你的Gemfile。 目前我使用:

taps (0.3.23) 
heroku (2.6.1) 

正与

rails (3.1.0.rc5) 
rack (1.3.2) 
4

我有同样的问题。我通过在我的Gemfile中添加水龙头并使用bundle exec heroku db:push

+0

解决了这个问题 – CrazyCoderMonkey 2012-09-30 08:39:38