0 down vote favorite
Hi, since several days I have this problem: For a few days it has worked and now I can't do it works again. I setup a rails server on ubuntu with apache-2. I used a git repository to get all new change. After I run sudo rake db:migrate RAILS_ENV=production But after have restart apache server I can see that rails use the development db and not the production while before it has used it. MORE INFO: While I'm trying to understand the problem I note something: When I execute rake db:migrate RAILS_ENV=production I can see that it create me the production db. But if I add new value in db I can see it still used development. I'm continuing my search on google :D. But if someone knows the answer I don't really understand what can cause this. So i really appreciate some help. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.