Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Adapter for Rails

Trying to find the sqlserver adapter for rails on windows.

I have tried getting it from (without luck):

gem install activerecord-sqlserver-adapter --source=http://gems.rubyonrails.org

Where else can I get this gem?

UPDATE:

Make sure to run the command prompt as the administrator. Right click on the command prompt and click "Run as administrator".

like image 556
FortunateDuke Avatar asked May 10 '26 10:05

FortunateDuke


1 Answers

I just ran the exact command line you did, and the gem installs fine.

Questions:

  1. Are you running Vista?

    • If so, make sure you run your command prompt with administrative access, so it can write to the gems folder
  2. Do you have the latest version of gems?

    • Run gem --version to find out what you have, if it's not 1.2.0, then run gem update --system to get the latest
like image 59
Orion Edwards Avatar answered May 12 '26 01:05

Orion Edwards