Geirsman
2010-Jul-03 03:29 UTC
** Execute environment rake aborted! Could not find table ''pages''
Hey, I''ve googled this pretty thoroughly and saw a couple people with the same issue but none of the solutions worked for me. Background: I am trying to upload my Radiant CMS site to Heroku. Location: http://morning-frost-41.heroku.com/ Problem: Well on Heroku, the thing that really stands out it: PGError: ERROR: relation "pages" does not exist Pages refers to a table within the Archive extension that comes with radiant. Locally, script/server -e production runs with no errors, but script/server aborts because it can''t find pages. rake db:migrate fails (and gives me the subject of this letter) but rake production db:migrate works... rake db:bootstrap fails for pages again (also, I have done a lot of work on this site so I''m assuming I wouldn''t want to do that anways) There''s a lot of things I guess I don''t understand conceptually. I uncommented the production line in the environment.rb so I thought Heroku would run in production mode and not have any problems (using Sqlite3 locally, postgres on heroku). pages.yml should be in the correct folder, it''s in the same folder in a clean install of radiant I have elsewhere, where rake db:migrate works fine. I even took the one that was working and used it to replace mine that wasn''t working (don''t know if that''s good or not). Thing is I installed this version of radiant when I didn''t know what I was doing, so I may have made mistakes? I did a bunch of work on it, and now it''s hard for me to figure out what''s wrong or to delete it and start from scratch since i''ve already done work. I really just want to fix it so I can get my website up before i''m dead. Any help would be appreciated! -- View this message in context: http://old.nabble.com/**-Execute-environment-rake-aborted%21-Could-not-find-table-%27pages%27-tp29061298p29061298.html Sent from the RubyOnRails Users mailing list archive at Nabble.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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.