Try changing that rescue LoadError
to rescue LoadError => ex puts ex.inspect to get a better idea of what is failing to load. - David On Wed, Dec 2, 2009 at 4:55 PM, Chris Baglieri <[email protected]>wrote: > Installed the latest heroku gem and still no luck. Any thoughts would > be appreciated. > > foo$ heroku version > heroku-gem/1.4 > > foo$ taps version > 0.2.22 > > foo$ heroku db:push > Install the Taps gem to use db commands. On most systems this will be: > sudo gem install taps > > This is where the error appears to be thrown (/opt/local/lib/ruby/gems/ > 1.8/gems/heroku-1.4/lib/heroku/commands/db.rb for me): > > def initialize(*args) > super(*args) > gem 'taps', '>= 0.2.8', '< 0.3.0' > require 'taps/client_session' > rescue LoadError > error "Install the Taps gem to use db commands. On most systems > this will be:\nsudo gem install taps" > end > > > On Dec 2, 1:47 pm, Morten Bagai <[email protected]> wrote: > > Actually, the current gem version is 1.4. It's on gemcutter. > > > > M > > > > On Dec 2, 2009, at 10:39 AM, Chris Baglieri <[email protected]> > > wrote: > > > > > > > > > I'm trying to push a database and 'heroku db:push' is alerting me that > > > I do not have the taps gem installed. The step before issuing the > > > heroku command, I installed taps (0.2.22) and confirmed it was there. > > > I'm attempting to do this from OSX. Someone in the IRC channel > > > suggested I confirm all of taps dependencies where installed and it > > > appears they are. I also updated my heroku gem (which coincidentally > > > was a version behind) hoping that would make a difference. Looking at > > > db.rb, the problem is happening on initialize. I am running > > > everything out of my /opt/local/bin... directory for whatever that's > > > worth. From my command line I can issue taps commands. Could it be > > > that the heroku gem is unable to find my taps gem? My path is below > > > along with some other helpful bits: > > > > > foo$ echo $PATH > > > /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/opt/ > > > local/lib/postgresql84/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ > > > bin:/usr/X11/bin > > > > > foo$ gem -v > > > 1.3.5 > > > > > foo$ taps version > > > 0.2.22 > > > > > foo$ heroku version > > > heroku-gem/1.3 > > > > > foo$ which taps > > > /opt/local/bin/taps > > > > > foo$ which heroku > > > /opt/local/bin/heroku > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups "Heroku" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > [email protected]<heroku%[email protected]> > > > . > > > For more options, visit this group athttp:// > groups.google.com/group/heroku?hl=en > > > . > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
