I've seen a couple related issues (toolbelt not being able to find local 
gems), but I haven't had luck duplicating this locally.  The vendored gems 
from toolbelt should just get added to the loadpath so that it will get 
checked first and then system gems will get checked.  In the windows case 
the problem may be that toolbelt has its own ruby (and therefore likely its 
own gems), so that gemset may not have have taps available to it.  Not sure 
how to best address that, but I'll make myself a note to dig into it a bit 
more.  For the time being I suspect that just continuing to use the gem may 
be your best bet.
wes

On Thursday, June 28, 2012 2:01:16 PM UTC-5, Erich wrote:
>
> My app has been working fine on cedar for quite a while.  I switched 
> to the toolbelt and the next time I tried to do a db:push I got the 
> following failure almost immediately: 
>
> Failed to connect to database: 
>   Sequel::AdapterNotFound -> LoadError: no such file to load -- pg 
>
> (of course toolbelt wasn't the only change and I wasted tons of time 
> on red herrings) 
>
> When I uninstalled toolbelt and did gem installs of heroku and taps I 
> was able to db:push again without any trouble. 
>
> So...any thoughts about what is different between toolbelt and the 
> gems to make taps fail like that?  I noticed toolbelt was on taps 13 
> whereas the gem was on 14, but I'm pretty sure I was db:pushing with 
> the taps gem on 13 last week. 
>
> Windows xp box 
> cedar stack 
> postgres (pg gem) for both development and heroku 
> Rails 3.1 
> Ruby 1.9.2 
>
> I did see the notes about using pgbackups to transfer when using 
> postgres on both sides--and that was next on my list to try after 
> ditching toolbelt.  But on cursory inspection it looking like 
> transferring from a windows dev box is going to be hasselriffic at 
> least the first time (special tool to export locally if that tool even 
> runs on windows, then finding someplace to host the file) 
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

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_US?hl=en

Reply via email to