hi, I can''t run back my migrations on Ubuntu: rake db:migrate works as expected. I.e. after that, schema_migrations includes some numbers. Then I run this in ubuntu''s terminal: user@ubuntu:~/project/src$ rake db:migrate version=0 --trace (in /home/user/project/src) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump user@ubuntu:~/project/src$ Nothing happened, and schema_migration includes the same numbers as before. I have this problem with Rails 2.2.2 on Ubuntu 8.10 in development mode, but not with Rails 2.0.2 and Windows Vista, also development. I''m wondering why nobody seems to have the same problem... How can I get it work? Luma --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 21, 8:40 pm, Luma <martin....-hi6Y0CQ0nG0@public.gmane.org> wrote:> hi, > > I can''t run back my migrations on Ubuntu: > > rake db:migrate works as expected. I.e. after that, schema_migrations > includes some numbers. Then I run this in ubuntu''s terminal: > > user@ubuntu:~/project/src$ rake db:migrate version=0 --traceThat should be VERSION=0 - it''s case sensitive (at least in the unix world) Fred> (in /home/user/project/src) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > ** Invoke db:schema:dump (first_time) > ** Invoke environment > ** Execute db:schema:dump > user@ubuntu:~/project/src$ > > Nothing happened, and schema_migration includes the same numbers as > before. > > I have this problem with Rails 2.2.2 on Ubuntu 8.10 in development > mode, but not with Rails 2.0.2 and Windows Vista, also development. > > I''m wondering why nobody seems to have the same problem... How can I > get it work? > > Luma--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> That should be VERSION=0 - it''s case sensitive (at least in the unix > world)It''s case sensitive, because it goes into ENV[''VERSION''], without embellishment, inside Ruby... --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thanks! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 21, 9:01 pm, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > That should be VERSION=0 - it''s case sensitive (at least in the unix > > world) > > It''s case sensitive, because it goes into ENV[''VERSION''], without embellishment, > inside Ruby...ENV isn''t a hash though so ENV[] can do whatever it wants (perhaps if that was the norm for the platform in question - i don''t know enough about windows to comment). The ENV_IGNORECASE #define in the ruby source seems particularly relevant. Fred --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---