OK, I've been singularly unsuccessful in getting the migration to work on
either with Michael's gem or my little script.

For mine, it looks like it runs if I do a "heroku rake db:migrate" but the
database doesn't seem to be available. If I do it locally, by running "rake
db:migrate" or even "rake DATABASE_URL=library.sqlite" everything seems to
work fine. Should I not be using "system" on Heroku? Something else?

Thanks again,

Scott

On Fri, Aug 20, 2010 at 10:12 AM, Scott LaBounty <[email protected]>wrote:

> Michael,
>
> Thanks! That looks pretty cool.
>
> Scott
>
>
> On Fri, Aug 20, 2010 at 9:47 AM, Michael Lang <[email protected]> wrote:
>
>> Scott,
>>
>> you might try my sequel_plus gem.  See the "Use Rake Tasks" topic here:
>>
>> http://github.com/mwlang/sequel_plus
>>
>> Regards,
>>
>> Michael
>>
>> On Fri, Aug 20, 2010 at 9:14 AM, Scott LaBounty <[email protected]>wrote:
>>
>>>  Thanks everyone for all your help. I did get everything working on
>>> Heroku.
>>>
>>> One thing though, does anyone have a rakefile that has migrations in
>>> them. I haven't used rake that much and what I came up with for the
>>> migrations doesn't look too elegant. I'm using something similar to:
>>>
>>> task :migrate do
>>>     system "sequel -m ..."
>>> end
>>>
>>> Is there a better way?
>>>
>>> Thanks again.
>>>
>>>
>>> --
>>> Scott
>>> http://steamcode.blogspot.com/
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "sequel-talk" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<sequel-talk%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/sequel-talk?hl=en.
>>>
>>
>>
>>
>> --
>> http://codeconnoisseur.org
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "sequel-talk" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<sequel-talk%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/sequel-talk?hl=en.
>>
>
>
>
> --
> Scott
> http://steamcode.blogspot.com/
>



-- 
Scott
http://steamcode.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en.

Reply via email to