Hi, i'm using DataMapper with Postgresql on Windows XP for development. 
Ruby 1.9.3 with RubyInstaller. The setup is normal, there is no error in 
loading gems.
But when i run the same setup on Windows Server 2008 machine, do_postgres 
can't be loaded. The error is here:

E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/do_postgres-0.10.12-x86-mingw32/lib/d
o_postgres.rb:31:in require': 126: The specified module could not be found. 
-
E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/do_postgres-0.10.12-x86-mingw32/lib/
do_postgres/1.9/do_postgres.so (LoadError)
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/do_postgres-0.10.12-x86-
mingw32/lib/do_postgres.rb:31:inrescue in '
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/do_postgres-0.10.12-x86-
mingw32/lib/do_postgres.rb:26:in <top (required)>'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-postgres-adapter-1.2.
0/lib/dm-postgres-adapter/adapter.rb:1:inrequire'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-postgres-adapter-1.2.
0/lib/dm-postgres-adapter/adapter.rb:1:in <top (required)>'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-postgres-adapter-1.2.
0/lib/dm-postgres-adapter.rb:1:inrequire'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-postgres-adapter-1.2.
0/lib/dm-postgres-adapter.rb:1:in <top (required)>'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-core-1.2.0/lib/dm-cor
e/adapters.rb:163:inrequire'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-core-1.2.0/lib/dm-cor
e/adapters.rb:163:in load_adapter'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-core-1.2.0/lib/dm-cor
e/adapters.rb:133:inadapter_class'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-core-1.2.0/lib/dm-cor
e/adapters.rb:13:in new'
from E:/dungth/Ruby193/lib/ruby/gems/1.9.1/gems/dm-core-1.2.0/lib/dm-cor
e.rb:230:insetup'

Do you know why is this error and how to fix it ? 
Thank you very much.
 

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to