Jeremy, Thanks, I missed what you were saying about the read-only file system. They do mention this on their site:
require 'sequel' Sequel.connect(ENV['DATABASE_URL'] || 'sqlite://my.db') So even with that, the database is read-only? Is the only way to have a writable database to use postgreSQL? Scott On Thu, Aug 19, 2010 at 9:23 AM, Jeremy Evans <[email protected]>wrote: > On Aug 19, 7:59 am, Scott LaBounty <[email protected]> wrote: > > Hmmm... here's what I get > > > > << > > slabou...@slabounty-laptop:~/RamazeTutorial/SimpleHerokuSequel$ heroku > > console sequel -m dbMigration -M 1 sqlite://library.sqlite > > SyntaxError: compile error > > /home/heroku_rack/lib/console.rb:145: syntax error, unexpected > tIDENTIFIER, > > expecting kDO or '{' or '(' > > sequel -m dbMigration -M 1 sqlite://library.sqlite > > ^ > > /home/heroku_rack/lib/console.rb:145: syntax error, unexpected tINTEGER, > > expecting kDO or '{' or '(' > > sequel -m dbMigration -M 1 sqlite://library.sqlite > > Looks like heroku console gives you an IRB shell, not a command line. > Maybe: > > heroku console 'system("sequel -m dbMigration -M 1 sqlite://library.sqlite > ")' > > Again, though, it doesn't make any sense to try to migrate an SQLite > database on Heroku, which uses a read-only file system. > > Jeremy > > -- > You received this message because you are subscribed to the Google Groups > "sequel-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<sequel-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/sequel-talk?hl=en. > > -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
