similar to: Can't install mysql2 gem on Windows 7

Displaying 20 results from an estimated 5000 matches similar to: "Can't install mysql2 gem on Windows 7"

2011 Mar 14
3
error during installing gem named mysql2
*hello everyone,* * * *im getting this error when im installing a gem via command prompt * *can any one help me out? please* * * *thanks.* * * *C:\>gem i mysql2* *Temporarily enhancing PATH to include DevKit...* *Building native extensions. This could take a while...* *ERROR: Error installing mysql2:* * ERROR: Failed to build gem native extension.* * * * C:/Ruby192/bin/ruby.exe
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know if any one needs some more details. I followed instruction from "https://github.com/oneclick/rubyinstaller/wiki/Development-Kit". I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32]. E:\work_desk\trunk>gem install mysql2 -v 0.2.4 Temporarily enhancing PATH to include DevKit... Building native extensions. This
2010 Jun 14
6
ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)
I am trying to install mongrel_service gem on Windows (although this problem seems to hold for any non-compiled gem). I have tried this with Windows Server 2003 and 2008. Also with Ruby version 1.8.7 and 1.9.1 (Luis Lavena''s one click installer). Both with the same result. The error message (full text below) mentions that I have to install development tools first. I have installed MinGW
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby versions separate. After some initial difficulties with MySql2 gem installation, following <a href=http://rorguide.blogspot.com/2011/03/installing- mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7 installed. My problem
2011 Dec 08
3
Problem with running "WEbrick"
Hi After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and connected MySQL to it ( I checked it and it worked ) I installed rails then I create a project on "C:\Users\Amiref\Documents\Sites\simple_cms" with this order : "rails new simple_cms -d mysql" then when I use "rails server" to run webrick I saw this error on command prompt : "rails.bat :
2010 Jun 08
2
gem install mysql giving error on linux
Hi, I have mysql installed on linux. Whenever I am trying t "gem install mysql -- --with-mysql-dir=/usr/bin/mysql" I am getting following error:- Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb --with-mysql-dir=/usr/bin/mysql checking for mysql_ssl_set()... ***
2011 Sep 08
3
Newbie | Installing mysql2 gem
Hello everyone, I wanted to learn about Ruby on Rails and its advantages and I decided to start with some tutorials. Unfortunately I''m forced to post my problem on the forum after days of unsuccessful solutions. I''ve installed Railsinstaller and mysql 5.5.15 64 bit version. I''m running win 7. I''ve been using the following command: C:\>gem install mysql2 --
2011 Apr 21
1
GEMFile gem 'mysql2' and mysql version is 4.1.2
Hi all I have a Gemfile with this value gem ''mysql2'' but when I run this command ''$ bundle install'' on my host they said that "The command "bundle install --local" seems to be returning mysql2 dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ ( refer: https://github.com/brianmario/mysql2/issues/109 ) whereas the server mysql
2010 Feb 27
3
Oniguruma and Ultraviolet on Windows 7
Hi I have been tying to install the followings gems in order to add code syntax highlighting to my application: -Oniguruma -Ultraviolet -Harsh Unfortunately I have been running into the the following errors when running "gem install oniguruma ultraviolet" Building native extensions. This could take a while... ERROR: Error installing oniguruma: ERROR: Failed to build gem
2012 Jan 30
0
Installing RMagick on CentOS 5
I''m have a very big trouble with my project. I install RMagick on Centos, and catch error: I use RVM + ruby 1.9.3 [kastet@v989 ~]$ gem install rmagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /home/kastet/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb checking for Ruby version >=
2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group, I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3. I''m able to use mysql tools like mysql, mysqladmin to converse with it. :} I use RVM''s scripts to fetch gems. I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted
2012 Jan 14
2
mysql2 error in production
As I need to upgrade a Rails app to 3.1 , I am trying to deploy it on a remote production server ( Linux Debian, after installing Rails 3.0.9 under rvm with all needed gems including mysql2 version 0.2.18 used by the app) after deployment, starting the app, I get a Load error w mysql2... ** [out :: www.mydomain.com] /var/www/vhosts/mydomain.com/rails/
2011 Nov 18
3
Rails Installation Error: Failed to build gem native extension.
After installing Ruby, i tried installing Rails and this is the error i got: C:\Users\Eunice>gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb checking for re.h... *** extconf.rb failed *** Could not create Makefile due to some reason, problably lack
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
hi guys, I have been trying to install Rmagick on ubuntu karmic koala for a day. Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick). The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ): -------------------- Extract start
2011 Jul 25
4
Rails 3 test database issues
I am having a problem using the test database in Rails 3. It apparently has kept track of aspects of the database that I deleted completely from my migrations at some point. I don''t always use the ''down'' part of a migration and sometimes just recreate the whole database. I did rake db:migrate:reset and rake db:test:prepare, but when I run my test it is trying to access
2011 Mar 14
3
Kgio - ERROR: Failed to build gem native extension.
Hello guys, I am not able to install kgio. Kgio not working on windows? I''m using: rails 3.0.5 ruby 192 gem 1.6.2 Windows XP. C:\Ruby192\bin>gem install kgio Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing kgio: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe extconf.rb
2009 Aug 13
2
if_indextoname on Windows?
Hi all, Windows Vista Home Premium VC++ 9 According to MSDN, the if_indextoname() function should be included on Vista: http://msdn.microsoft.com/en-us/library/bb408408%28VS.85%29.aspx However, I can''t get mkmf to see it. I tried all of these: require ''mkmf'' if have_header(''netioapi.h'') # yes have_func(''if_indextoname'',
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys, I''m having an issue with deploying my application and the mysql2 gem. I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3. On my local machine in development environment the application runs just fine. But when I want to deploy it on our production server I get an error message from passenger. "Please install the mysql2 adapter: `gem install activerecord-mysql2-
2010 Nov 25
2
no such file to load - spec/test/unit
Under the older version of rspec, I''m able to run my script successfully by running "spec randomperform.rb" I''ve now installed the newest rspec, and it does not work for me. If I run the command: rspec randomperform.rb I get the following error: ----- <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- spec/test/unit