similar to: Rails 3 app has strange behaviour with Mysql2 database

Displaying 20 results from an estimated 400 matches similar to: "Rails 3 app has strange behaviour with Mysql2 database"

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 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 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
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 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing mysql2 gem on my windows 7 OS. I checked several forums for solutions but still couldn''t get that installed. can someone help my out please? below is the error: c:\>gem install mysql2 Building native extensions. This could take a while. ERROR: Error installing mysql2: ERROR: Failed to build gem native
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 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got error An error occurred while installing mysql (0.3.7), and Bundler cannot continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before bundling. Please help me i want to codding with rails :) -- Posted via http://www.ruby-forum.com/. -- You received this message because
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
2012 Feb 08
3
An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
error information occurred when I execute "rails new demo1 -- database=mysql" MY environment below: Mac OS 10.4.11, Ruby 1.8.7 Rails 3.2.1, Gem 1.8.15 mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using readline 6.2 mysql (2.8.1) Please help me, thx! more detail message as follows: Installing mysql2 (0.3.11) with native extensions
2011 Nov 07
1
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
Hi all, I did a fresh install of ROR on my fedora 15,i get the following error. " $ rails s => Booting WEBrick => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.6/lib/mysql2/client.rb:43:in `connect'': Can''t connect to
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 --
2012 Dec 25
3
ERROR : An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue.
I am a php programmer, learning ruby on rails I am using ubuntu 10.10. i am not so fine with linux. i have installed ruby, gems etc. I want to make app with using mysql. I have used *$ rails new clogs_web_app -d mysql* to make app but the process stops with this statement *Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.* it give me error : * An error occurred
2010 Sep 08
1
mysql2 gem instalmlation on Ubuntu 10.04/Windows XP having Ruby 1.9.2
Can anybody explain/post a valid link to/confirm the possibility for installation of mysql2 gem. I can install it neither on Windows XP x32/ x64 nor on Ubuntu (10.04 via RVM) having Ruby 1.9.2. version. Thks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
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
2011 Feb 09
0
Mysql2::Error: SAVEPOINT active_record_1 does not exist
Hi, I''m switching the database of a rails 3 app I have developed from postgres to mysql so that I can avail of amazon''s rds. Before I make the change I have been running my test code using mysql on my dev machine with the mysql2 adaptor . My test code is throwing up some errors that I haven''t quite been able to get to the bottom of yet. Basically I have a model that is
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys, I''m new to learning RoR and I try to do a database with mysql and I have a problem. First I create a a folder in my desktop and after with command in the terminal on Mac Os Mavericks I create a project: rails new vota_prato -d mysql after I will try to create a database with this command: $ rake db:create and I have this error: MacBook-Pro-de-Romenig:vota_prato romenig$ rake
2011 Nov 27
0
/usr/bin/ld: cannot find -lmysqlclient_r installing ruby gem mysql2.... in Fedora Linux + MySQL 5.5.15...
[dinooz@fedora rails]$ uname -a Linux fedora 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686 i686 i386 GNU/Linux [dinooz@fedora rails]$ [dinooz@fedora rails]$ rpm -qa |grep MySQL MySQL-client-5.5.15-1.linux2.6.i386 MySQL-test-5.5.15-1.linux2.6.i386 MySQL-server-5.5.15-1.linux2.6.i386 MySQL-shared-compat-5.5.15-1.linux2.6.i386 MySQL-devel-5.5.15-1.linux2.6.i386 [dinooz@fedora
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my pc. Do I need to ran something in the ruby to use MySQL? C:\>rails new MySQLRestaurant --database=mysql C:\>cd MySQLRestaurant C:\MySQLRestaurant>rails generate scaffold review poster:string date:datetime ar ticle:text C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2011 Jun 15
11
Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
Hi, I''m trying initialize my local rails server but I haven''t can, because when I write "rails server", show me this message: => Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c