Displaying 20 results from an estimated 4000 matches similar to: "mysql2 gem instalmlation on Ubuntu 10.04/Windows XP having Ruby 1.9.2"
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
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
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
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/
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi
I am been trying in vain to auto-gen models by reverse-engineering
mysql using RMRE. It complains mysql2 gem missing but as seen in my
Rails environment below, it is there.
Here''s my Rails environment and RMRE error. Experts... please help!
Thanks a ton in advance!!
===
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.2
Rails version 3.0.3
Active Record
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
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
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-
2011 Sep 19
27
Installing Rails Help!
Hi,
I followed a Tutorial on Nettuts to install Ruby with RVM and this went
well. I then tried to install Rails to follow the ''How to build a dropbox
live service'' from Netttus but appear to get errors can anybody help?.
Once I installed rails I created a new rails project using the command
(Rails new sharebox -d mysql)
This worked and created the folder structure.
I then
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
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
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
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 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
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 Jul 15
1
Rails 3 app has strange behaviour with Mysql2 database
Hi,
I have developed a little web app with a sqlite3 database in
development environment. Now I switched over to mysql2 for production
environment. At a first look everthing looks good!
BUT, I have delayed_jobs that run methods in the background, where two
nested active records were compared with "if hash1 == hash2", then it
should just show whether they are the same or not. With
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 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
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
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