Yeah, those tasks broke for me too and I started playing with Padrino a week or so ago. The Padrino maintainers said they're aware but that they're not Sequel experts, so its difficult for them to maintain those tasks. I actually started a ticket on this one suggesting they adopt sequel_plus for the sequel rake tasks. They prefer that I copy all the tasks from sequel_plus into their project, but that seems very non-DRY to me.
You could bridge the gap until we come up with a suitable arrangement with these steps: 1) install sequel_plus gem: sudo gem install sequel_plus 2) in your new padrino-based project folder, create a lib/tasks folder 3) edit a file, ~/lib/tasks/sequel.rake, to have the following line: require 'tasks/sequel' 4) padrino rake -T Michael On Sun, May 9, 2010 at 11:46 PM, Jeremy Evans <[email protected]>wrote: > On May 9, 7:56 pm, limux <[email protected]> wrote: > > I use Padrino to develope a sample blog followed the tutorial in the > > offical web. > > First I use Sequel and sqlite3, all the rake task of migrates failed > > for > > the message of 'can not open the database'. I do't know where I was > > wrong and How to resolve. So I then use ActiveRecord and sqlite3 do > > the > > tutorial and it works well. > > > > Please some advices! > > How about ask on the Padrino list (http://groups.google.com/group/ > padrino), since they are the ones who wrote the rake task? :) > > Jeremy > > -- > 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]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
