I just found that I can use rake db:automigrate instead of migrate. this works for me for now.
On May 24, 6:28 pm, Corin <[email protected]> wrote: > Hi, > > Your situation sounds similar to my own, I've got things running > smoothly on a Ubuntu machine with the help of rvm. Except the > migrations keep raising SQL errors... But my dbadmin doesn't mind. > > If I find the time I'll share :) > > On May 25, 5:27 am, Hai <[email protected]> wrote: > > > > > > > > > Hi, > > > I need to connect a rails(on jruby) app to ms sql server. > > After giving up to try to get activerecord working with sql server, I > > switched to DataMapper. although I only spent half day to work with > > DataMapper, I'm glad that I can connect to sql server in a standalone > > script by following the tutorial on DM websites. > > > Now I'm trying to set up a rails app with DM by using the dm_rails > > gem. It seems whenever I run rake db:create I get: > > rake aborted! > > Adapter sqlserver not supported (:Sqlserver) > > > if I run db:migrate, there's no output and new tables are not created. > > > If I manually create the table. the rails app actually works fine. > > So I think there must be some configuration issue with dm_rails. > > Is there any tutorial on how to get dm_rails working with sqlserver > > and rails3? > > > Thanks -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
