datamapper / dm-sqlserver-adapter

A SQLServer Adapter for DataMapper
http://datamapper.org/
MIT License
11 stars 5 forks source link

can't get adapter to install...? #3

Open AaronMertes opened 12 years ago

AaronMertes commented 12 years ago

I'm trying to use the standard command: gem install dm-sqlserver-adapter

I receive a message back indicating 'Unable to resolve dependencies: dm-sqlserver-adapater requires do_sqlserver 0.10.6.

when i try to install that i get an error due to the do_sqlserver being built for java platform, not windows.

Is there anyway that i can use your data mapper adater on my windows 7 machine to connect to a sql server database?

mattkirman commented 12 years ago

I believe it's possible to use JRuby on Windows 7. This should give you correct platform for you to install the gem.

AaronMertes commented 12 years ago

I'll give it a shot, thanks for the reply Matt!

-----Original Message----- From: Matt Kirman [mailto:reply@reply.github.com] Sent: Friday, February 10, 2012 10:01 AM To: Aaron M. Mertes Subject: Re: [dm-sqlserver-adapter] can't get adapter to install...? (#3)

I believe it's possible to use JRuby on Windows 7. This should give you correct platform for you to install the gem.


Reply to this email directly or view it on GitHub: https://github.com/datamapper/dm-sqlserver-adapter/issues/3#issuecomment-3908348

lukeholder commented 11 years ago

Would it be possible to replace do_sqlserver with something without a jruby dependancy? freetds / tiny_tds maybe?

myabc commented 11 years ago

@lukeholder Yes. It would be possible to get a working driver released for MRI, as well. The code that currently exists for MRI is based around ruby-odbc, and was developed before TinyTDS came about. At that time, it was considerably more work to get the driver stable for MRI than for JRuby (we don't get some of the stuff out-of-the-box that we get using jTDS on JRuby). MRI + SQL Server support was seen as a "nice to have" for sake of completeness, but with little demand from members of the community.

lukeholder commented 11 years ago

well i demand it :)