Frederick Cheung wrote:
> On Jul 19, 9:56�pm, Carl Franz <[email protected]>
> wrote:
>>
>> Why would this version of Rake be attempting to use the &*^%& version
>> numbers and not the version timestamps? �Any ideas?
> 
> if there is an environment variable called VERSION then rails tries to
> migrate to that version (this is largely because until recently rake
> didn't allow you to pass arguments to tasks so it's faked up with
> environment variables eg rake db:migrate FOO=123 )
> 
> Unfortunately VERSION is quite a non specific word and occasionally
> you may find that other software has set that environment variable, in
> this particular case to 3. Rails thinks you are telling it "migrate to
> version 3" and is complaining because it couldn't find that file.
> Running db:migrate again after you added the second migration did
> nothing because rails still thinks you're saying 'i want to migrate to
> version 3'.
> 
> Fred


Thany you Fred, now that I understand, that appears to be what it is 
doing.  Is there any relatively simple way to disable this behaviour in 
'migrate'?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to