Displaying 20 results from an estimated 2000 matches similar to: "Problem(?) updating gems - mysql gem"
2005 Oct 22
2
problem with "gem update mysql"
Hi,
I have activated scaffold in my first rails application ( following
http://manuals.rubyonrails.com/read/chapter/38 ) and now I get the
next error
''Packets out of order'' error was received from the database. Please
update your mysql bindings (gem update mysql) and read
http://dev.mysql.com/doc/mysql/en/password-hashing.html for more
information.
if I run the "gem
2007 Nov 29
6
Locomotive: Can not install mysql gem
I''m using Locomotive on MacOSX 10.4, and I have installed mysql
5.0.45.
To my surprise, the Ruby version included in Locomotive does not come
with the mysql
gem installed, so I tried to install it manually. According to the
instructions in database.yml,
this should be done using the --include switch, like this:
gem install mysql -- --include=/usr/local/lib
I selected the mysql 2.7
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
2006 Apr 04
6
connecting to mysql on OS X 10.4
i have looked in the archives, i have the _agile_ book, and its links
right in front of me, and i have done pretty much everything i can
think to do except start from a fresh OS install, and yet i still can
not get Rails to talk to MySQL.
when i try to do this:
237:/Library/WebServer/Documents/Rails/depot chris$ ruby script/
generate scaffold Product Admin
i get this output:
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
2006 Apr 30
0
Posts not getting through (was problems with MySQL gem
No wonder noone has responded to my posts - I''m not sure they''re going
out. Looking on the ruby-forum I don''t see any of the three messages
I''ve posted about problems with the MySQL gem.
Basically, doing a gem update is getting me this over and over - on both
OS X and Ubuntu (Breezy):
Halo:~ john$ sudo gem update
Password:
Upgrading installed gems...
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:
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 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?
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
2008 Sep 22
0
проблема gem install mysql CenOS
Всем Привет.
Пытаюсь по руководству ( http://www.html-blog.ru/2008/8/26/rails-on-agava-vps
), поставить rails на CentOS 5.2.
Когда пытаюсь поставить gem install mysql, получаю:
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install mysql
checking for mysql_query() in
2013 Sep 20
3
having problem to install the gem `mysql`
I am having problem to install the gem `mysql`.
kirti@kirti-Aspire-5733Z:~$ gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/home/kirti/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for mysql_query()... -lmysqlclient
checking for main() in -lm... yes
checking for mysql_query()...
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked
well so far but on (book not pdf) page 32 I don''t get the "Template Is
Missing" error. I get
Routing Error
Cannot load config/routes.rb:
No such file to load -- ./demo/script/../config/../config/routes.rb
There is a file at e:\ruby\ror\work\demo\config\routes.rb
It''s all greek to me and
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all,
Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel
369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine
with Rails 2.1.0.
"which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in /
usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder
in /usr/local .
Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2010 May 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I
write this in the console:
[console]
rake db:migrate
[/console]
And say me:
[console]
(in /home/distriker/Documentos/public_html/crf)
!!! 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
(See full trace by
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 Mar 28
2
Rails 1.1 and Rails 1.0 gems
Firstly, Congrats to the Rails team for the 1.1 release!
I installed Rails using the package created by Tony Arnold, referenced here:
<http://tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners>
I did the upgrade to Rails 1.1 and all went well. Now, however, I seem
to have two sets of gems installed. Doing a ''gems list'', I see:
2006 Apr 04
6
Replaced Rails Package with HiveLogic Install - problems
Hi,
I''ve got a strange problem. I had initially installed Rails using Tony
Arnold''s package:
<http://www.tonyarnold.com/articles/category/rails>
and that worked fine. (on OS X, obviously). I then decided to
reinstall using the instructions on the HiveLogic page, to get Ruby
1.8.4:
<http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger>
That
2006 May 12
12
Anyone tried the recent Mac OS X Security update?
It includes a patch for Ruby. I have already installed 1.8.4 from
source, and updated my PATH to look in /usr/local first, so I don''t
imagine that anything Apple does to "their" copy of Ruby will have any
impact on me, but I''m wondering if the changes to their Ruby is
something that needs to be done to 1.8.4 as well.
Thoughts?
Walter
2006 May 25
5
Model Structure Advise
Hi,
I''m starting to build a simple (?!) FAQ system, and I''d like some
advice on setting up the model relationships.
I was going to go with a simple system of a Category table and a FAQ
table (holding questions and answers) - where one FAQ belongs to one
category.
That''s all nice - a simple has_many / belongs_to relationship. Then I
decided to add another level - Area.