Displaying 20 results from an estimated 1000 matches similar to: "mysql gem install not happening on Mac OS Leopard - any inputs at all??"
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails.
Whenever I try to install the mysql gem, i get an error:
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I cd''d into my usr/local/bin directory and saw i have several
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
Hi all...
The linux box I am working on I do not have root access to, and given I
am at a government site all hope of that is lost.
I have installed the mysql gem as follows:
env ARCHFLAGS="-arch x86_64" gem install mysql --
--with-mysql-config=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/bin/mysql_config
2009 Apr 07
12
Problem with MYSQL after re-installing rails
Hey all-
Re-installed OSX yesterday and with it, Ruby and Rails
Now when I try to run db:migrate I get the error message:
"!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
Rake aborted!
no such file to load -- mysql"
So, I try sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
And get:
2009 Sep 10
2
undefined method `get_client_info' for Mysql:Class
after upgraded to Snow Leopard... (32bits arch)
I re-installed the mysql gem (i386 architecture) , all gems and
rails 2.3.4
testing in the console
$ irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''mysql''
=> true
Mysql.get_client_info
NoMethodError: undefined method `get_client_info'' for Mysql:Class
from
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi,
I installed the "kwatch-mysql-ruby" gem on my Debian server but when I
try to run the "db:migrate" task I get the following error:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
2008 Oct 24
1
[mysql gem] Failed to lookup Init function
Hi, with mysql.rb removed from rails 2.2 I need to install the mysql
gem
I have mac osx 10.5.5
I have mysql installed in /usr/local/mysql, so, after a bunch of try,
I''ve installed
the gem with:
env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/
usr/local/mysql/bin/mysql_config
the gem seems installed in /usr/local/lib/ruby/gems/1.8/gems/
mysql-2.7/
but
2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All,
I have managed to upgrade ruby to 1.8.7.
However, when I use Terminal and ''cd'' to the app and run ''ruby script/
server'' ... I get an error when i click the link ''about your
applications environment''.
When I look into Terminal, it suggests Status: 500 Internal Server
Error
no such file to load -- mysql
How do I overcome this?
2007 Dec 11
2
Build issues on Leopard
Hello,
I''m having some issues building r190 on Leopard (10.5.1):
$ rake
(in /Users/johan/temp/superredcloth)
ragel superredcloth_scan.rl | rlgen-cd -G2 -o superredcloth_scan.c
ragel superredcloth_inline.rl | rlgen-cd -G2 -o superredcloth_inline.c
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I.
2006 Mar 01
5
Error installing the MySQL Ruby bindings?
Hi, I attempted to install the MySQL Ruby bindings and I received the
following errors:
> gem install mysql -- --with-mysql-dir=/usr/local/mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Building native extensions. This could take a while...
*** extconf.rb failed ***
Could not
2012 Jan 05
4
mySQL: ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)
Hello, I am using InstantRails 2.0 on windows.
When building an app,I get this error when hit the browser(Action
ControllerException caught):
Access denied for user ''root''@''localhost'' (using password: NO)
-----------------------------------------------------------------------------------------------
The database.yml file is configured like this:
# MySQL.
2009 Dec 24
12
no such file to load -- ferret
Hi there,
I''m just trying to deploy my app to my vhost, and i''m getting an error
on the phusion passenger page:
no such file to load -- ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again? if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
--
You received
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and
going through the whole project. well i am now stuck on creating the
scaffold. I have been messing with settings for awhile now. here is the
error:
koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency
2009 Feb 09
13
mysql install problem
Hi,
I got Mac OS X 15.6 installed, Locomotive 2.0.8 and MYSQL 5.0.67
running. I''m having this problem when I try to install mysql gem:
Last login: Mon Feb 9 13:37:37 on ttys001
source
/var/folders/be/bexGvm9pHdq0vcEmR8-WWk+++TM/-Tmp-//39E424DB-A260-4E41-AA2E-30B64FB46F3C-7395-00002254065EA712.environment.bash
You have mail.
MBPEduCirilo:~ eduardocirilo$ source
2010 Jun 02
2
Error on rake command
Hi,
Have you an idea about this error message when i run the rake db:migrate
command under Aptana ?
rake aborted!
NoMethodError: undefined method `ord'' for 0:Fixnum: SET
SQL_AUTO_IS_NULL=0
Thanks
Here My Config :
Windows XP PRO SP2
Wamp 2.0
Aptana 2.0.4
RubyGems 1.3.5
Ruby 1.8.6
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
2011 Jun 21
2
Problem launching WEBrick in Rails
Hey everyone, i''m super new to Rails and excited to get going! I''m
following the Ruby on Rails Essentials 3 tutorial from Lynda very
closely and came across an error at the step when launching WEBrick.
MY Setup:
I am on OS X. I have installed the MySQL client and ran it from my OS
X system prefs. I double checked my gems and mysql (2.8.1) and mysql2
(0.3.6, 0.2.11) are BOTH
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys
I''d like to know how to change from using sqlite3 to mysql. I''m
running windows xp. What is the command that I must type under my
application folder? How to I log into the mysql database afterwards?
My database.yml file contents at the moment are:
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
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'',
2010 Dec 22
2
Please help with installing mysql gem to linux machine w/ xampp
Hello all,
I know this is not an uncommon question, but none of the
tutorials/tips solve my problem. I''ve got a linux machine running Ubuntu
10.4 with ruby, gem, rails, and xampp installed.
Now when I try to install the mysql gem (via: $sudo gem install mysql
-with-mysql-config=/opt/lampp/bin/mysql_config), I get:
Building native extensions. This could take a while...
ERROR: Error
2009 Dec 06
5
Using MySQL with Rails
If I want to use MySQL instead of sqlite3 when creating a Rails
application, apart from creating the application with the -d mysql and
configuring the config/database.yml file is there anything else I did
to do/download?
Thanks
--
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
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