Adapters not working with datamapper
问题 I have the following code: require 'sinatra' require 'datamapper' DataMapper.setup :default, "postgres://localhost/mydb" However, when I try and run it, I get: LoadError: no such file to load -- dm-postgres-adapter /Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `require' /Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/adapters.rb:163:in `load_adapter' /Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm