HEy Chris, For a while I noticed that taps created invalid urls that contain a password. I think the url encoding would screwup with the : (between username/password) or something like that.
I used to manually create the url and all would work. It has been a while since I've been on that project, so sorry I'm a bit vague. --Keenan On Dec 2, 2009, at 5:14 PM, Chris Baglieri wrote: > One step closer. I was able to find a lingering heroku gem library > (1.2.1) lying around. I removed it from my system and I am not > getting another error saying invalid database URL. At least it > appears to be working now. I should be good to go from here. If I do > run into any other issues, I'll cover it elsewhere. Thanks for the > help. David, you rock, as I believe you were also the one who stepped > up on the IRC channel. > > Cheers! > > On Dec 2, 5:03 pm, Chris Baglieri <[email protected]> wrote: >> $ ruby -v >> ruby 1.8.6 (2009-03-31 patchlevel 368) [i686-darwin10.0.0] >> >> Getting somewhere now. David, I made the change you suggested and >> there was nothing different in terms of what was displayed. I then >> commented out the error message outright and it still was shown when I >> issued the command, I uninstalled and readded the heroku gem but >> maybe it is lingering elsewhere on my machine. Let me see if I can >> find it. >> >> On Dec 2, 4:57 pm, David Dollar <[email protected]> wrote: >> >> >> >>> 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. > > -- 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.
