Error Installing Ruby-odbc
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn error 1918 error installing odbc more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags error 1918 error installing odbc driver Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, error installing odbc driver mysql odbc helping each other. Join them; it only takes a minute: Sign up “ERROR: sql.h not found” when installing ruby-odbc gem on Ubuntu up vote 13 down vote favorite 2 Attempting to install ruby-odbc gem on Debian/Ubuntu results in
Error Installing Odbc Driver Mysql Odbc 5.3 Ansi Driver
the following error; "ERROR: sql.h not found" ruby gem share|improve this question edited Feb 21 '15 at 13:51 asked Jun 12 '13 at 14:51 tombeynon 774517 add a comment| 2 Answers 2 active oldest votes up vote 22 down vote This happens on OSX too so brew to the rescue: brew install unixodbc share|improve this answer answered Mar 13 '14 at 14:44 eirc 1,157911 1 To get this to work, I had to run gem ruby odbc example install ruby-odbc -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.2_1 (or whatever your path to ODBC dir as installed by Brew) –dmichael Nov 5 '14 at 14:58 I also had to use the approach listed in the comment above by @dmichael to get it working. I'm on Yosemite. –Terry Ray Jul 14 '15 at 0:40 same, here's the gem install command without weird formatting: gem install ruby-odbc -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.4 –manroe Aug 25 at 21:32 add a comment| up vote 18 down vote accepted Install the unixodbc-dev package, then try the gem install again sudo apt-get install unixodbc-dev gem install ruby-odbc share|improve this answer answered Jun 12 '13 at 14:51 tombeynon 774517 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged ruby gem or ask your own question. asked 3 years ago viewed 4475 times active 1 year ago Blog Stack Overflow Podcast # 90 - Developer Stories, Charger Butts, and Joel's… Bye Bye, Bullets: The Stack Overflow Developer Story is the New Technical Resume Related 9cannot install ruby gems - zlib
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more ruby odbc connection about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Ruby Odbc Gem
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping
Python Odbc
each other. Join them; it only takes a minute: Sign up “ERROR: sql.h not found” when installing ruby-odbc gem on Ubuntu up vote 13 down vote favorite 2 Attempting to install ruby-odbc gem on Debian/Ubuntu results in the http://stackoverflow.com/questions/17068590/error-sql-h-not-found-when-installing-ruby-odbc-gem-on-ubuntu following error; "ERROR: sql.h not found" ruby gem share|improve this question edited Feb 21 '15 at 13:51 asked Jun 12 '13 at 14:51 tombeynon 774517 add a comment| 2 Answers 2 active oldest votes up vote 22 down vote This happens on OSX too so brew to the rescue: brew install unixodbc share|improve this answer answered Mar 13 '14 at 14:44 eirc 1,157911 1 To get this to work, I had to run gem install ruby-odbc http://stackoverflow.com/questions/17068590/error-sql-h-not-found-when-installing-ruby-odbc-gem-on-ubuntu/17068591 -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.2_1 (or whatever your path to ODBC dir as installed by Brew) –dmichael Nov 5 '14 at 14:58 I also had to use the approach listed in the comment above by @dmichael to get it working. I'm on Yosemite. –Terry Ray Jul 14 '15 at 0:40 same, here's the gem install command without weird formatting: gem install ruby-odbc -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.4 –manroe Aug 25 at 21:32 add a comment| up vote 18 down vote accepted Install the unixodbc-dev package, then try the gem install again sudo apt-get install unixodbc-dev gem install ruby-odbc share|improve this answer answered Jun 12 '13 at 14:51 tombeynon 774517 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged ruby gem or ask your own question. asked 3 years ago viewed 4475 times active 1 year ago Blog Stack Overflow Podcast # 90 - Developer Stories, Charger Butts, and Joel's… Bye Bye, Bullets: The Stack Overflow Developer Story is the New Technical Resume Related 9cannot install ruby gems - zlib error128Ubuntu noob rails install fails
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://stackoverflow.com/questions/17068590/error-sql-h-not-found-when-installing-ruby-odbc-gem-on-ubuntu/22382170 hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “ERROR: sql.h not found” when installing ruby-odbc gem on Ubuntu up vote 13 down vote favorite 2 Attempting to install ruby-odbc gem on Debian/Ubuntu results in the following error; error installing "ERROR: sql.h not found" ruby gem share|improve this question edited Feb 21 '15 at 13:51 asked Jun 12 '13 at 14:51 tombeynon 774517 add a comment| 2 Answers 2 active oldest votes up vote 22 down vote This happens on OSX too so brew to the rescue: brew install unixodbc share|improve this answer answered Mar 13 '14 at 14:44 eirc 1,157911 1 To get this to work, I had to run gem install ruby-odbc -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.2_1 (or error installing odbc whatever your path to ODBC dir as installed by Brew) –dmichael Nov 5 '14 at 14:58 I also had to use the approach listed in the comment above by @dmichael to get it working. I'm on Yosemite. –Terry Ray Jul 14 '15 at 0:40 same, here's the gem install command without weird formatting: gem install ruby-odbc -- --with-odbc-dir=/usr/local/Cellar/unixodbc/2.3.4 –manroe Aug 25 at 21:32 add a comment| up vote 18 down vote accepted Install the unixodbc-dev package, then try the gem install again sudo apt-get install unixodbc-dev gem install ruby-odbc share|improve this answer answered Jun 12 '13 at 14:51 tombeynon 774517 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged ruby gem or ask your own question. asked 3 years ago viewed 4475 times active 1 year ago Blog Stack Overflow Podcast # 90 - Developer Stories, Charger Butts, and Joel's… Bye Bye, Bullets: The Stack Overflow Developer Story is the New Technical Resume Related 9cannot install ruby gems - zlib error128Ubuntu noob rails install fails on zlib2error while installing ruby