I'm writing app using Ruby, Sinatra, psql and Sequel. I'm on Windows 7. I created database and wrote migations following tutorial. Now I should run them using
sequel -m migrations postgres://<username>:<password>@localhost/good_vids_development
but I'm getting an error AdapterNotFound, Load Error, cannot load such file: pg_ext.
Looks like the pg gem's C extension was not compiled. You either need to fix that or use a pure ruby driver (eg jeremyevans-postgres-pr).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.