SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    issue with rake db:migration -VERSION=n

    I'm running through the ruby book, and i've come across a problem with this command. The book says this should roll back your db to version n but all i get is the version of rails i'm running. Has anyone else run into this?

    thanks,
    john

  2. #2
    SitePoint Guru silver trophy Luke Redpath's Avatar
    Join Date
    Mar 2003
    Location
    London
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't need the hyphen - its not a switch, just an env variable. VERSION=x


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •