0

The title sums up the whole problem.

To use RoR, I was suggested to use Linux, so I got a VirtualBox and got Ubuntu 13 on it, installed RVM and RoR and now I'm pretty stuck.

I need to access the MSSQL from Ruby from inside the Ubuntu, and I don't have a single clue. A question of relevance was this question, but the answer links seemed to have expired, and the one that isn't, I can't make out a method of how to do it.

Any approach suggestions?

Community
  • 1
  • 1
Alexey
  • 3,607
  • 8
  • 34
  • 54
  • http://stackoverflow.com/questions/5872264/correct-mysql-configuration-for-ruby-on-rails-database-yml-file also get mysql client with yum install mysql – sethi Jun 03 '13 at 19:17
  • @bapusethi The question is about Microsoft SQL Server, not MySQL – Pondlife Jun 03 '13 at 20:02
  • http://www.thesatya.com/blog/2010/02/rails_sybase_solved.html My blog, old post, sybase, may work for mssql too as it involves JDBC. – Satya Jun 04 '13 at 03:55

1 Answers1

2

Its very simple if you use freetds. Install freetds library. Its available in ubuntu repository.

sudo apt-get install freetds

Then follow the instructions here

usha
  • 28,973
  • 5
  • 72
  • 93