Running ActiveRecord for SQL Server on Linux

Microsoft has released SQL Server v.Next Public Preview on Linux.

I have pushed another rails-dev-box branch runs_sqlserver for SQL server.

  • At host
$ git clone -b runs_sqlserver https://github.com/yahonda/rails-dev-box.git
$ cd rails-dev-box/
$ vagrant up
$ vagrant ssh
  • At guest
$ git clone https://github.com/rails-sqlserver/activerecord-sqlserver-adapter.git
$ cd activerecord-sqlserver-adapter
$ bundle install
$ bundle exec rake test

That's it. Since SQL Server v.Next is a preview release and ActiveRecord SQL Server Adapter is not Rails 5 ready yet, some of unit tests will fail.

Enjoy!