Displaying 20 results from an estimated 200 matches similar to: "mongrel + mysql can't connect in custom mysql install"
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 Apr 11
7
problem with package function and removing rpms
I have a recipe that I''m ensuring that I remove rpms that may be
installed by CentOS/RHEL before I install the MySQL.com rpms.
the recipe and logs are listed below. For testing I have mysql-* rpms
already installed.
Is there a method to force specific order to run the recipe?
What am I doing wrong?
# install mysql rpms (not CentOS/RHEL vesions)
# PROCESS:
# - removes any CentOS/RHEL
2011 Jul 26
0
active record wants root password, not sure why ..
When I run a command program (rails 3/ruby 1.9.2) as this:
class MsdsAttr < ActiveRecord::Base
include MsdsAttrModule
belongs_to :attribute_record, :polymorphic => true
has_many :attribute_values, :foreign_key => ''attribute_id''
has_many :alt_values, :as => :alternative
has_many :msds_ingredients
end
ActiveRecord::Base.establish_connection(
:adapter =>
2011 Mar 25
1
undefined method `init' for Mysql:Class on Mac with rvm and Passenger 3
I tried to find some help in the Passenger group without luck. I would
not like to use mysql2 gem (it gives an error too) because in
production I have to use mysql gem anyway. I moved to Passenger 3 and
I am not able to run a Rails 2 and a 3 apps. They both uses Passenger
3 (latest) and ree 2011.03.
The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes
The Rails 3:
NoMethodError
2006 Nov 07
1
Memory consumption too high
Hi,
I''m having trouble with ferret and AAF blowing up with a NoMemoryError.
Sometimes when I add documents inside my rails app. Ferret starts
consuming huge amounts of memory. I''m on a machine with 2GB of memory
and it still runs out of memory. Sometimes I''m able to run
MyObject.rebuild_index and the memory doesn''t move up at all. However,
sometimes it
2009 Jan 03
2
Permission to distribute Dovecot run file
I am working on updating the Shupp toaster, http://shupp.org/toaster/
a set of files and instructions for installing qmail, vpopmail,
qmailadmin and squirrelmail. Two of my most important goals are
switching the imap program from courier to Dovecot, and closer
integration with OpenSuSE. (Which I run my mail servers on.)
To follow the style of the toaster I need a place where I can obtain the
2009 Oct 22
2
ruby-debug and Ruby 1.9.1
Has anyone built ruby-debug for Ruby 1.9.1? I am on Leopard. A check
around the Web yielded issues with the pair, but no solution (I''ll
keep looking), hence my question.
Martin
2006 Jul 20
2
only one mysql process in pstree
Hi All,
I have two servers, one is centos 4.3 (new) and other is rh9 (old). Both of
them run mysql as the primary database server. I installed mysql via the rpms
available in mysql.com downloads.
Recently when i do "pstree", i noticed that RH9 server shows many mysql
children while centos shows only one. Here is the pstree result. (Both of
them runs the same version of mysql)
2006 Apr 12
5
Rails talking to MySql (cygwin on Windows XP)
Hello fellow RoR users,
I am a newbie and I thought RoR is so easy to set up and that I would
be saving so much time -- but I am still waiting to save time because I
simply couldn''t get Ruby/Rails to talk to MySQL (5.0.18) at all.
Here are the steps that I have examined:
1) I look at dabatbase.yml and put in the right information to talk to
the database I have set up (the
2010 Jun 04
0
Error after Updating version of Ubuntu
Hello all.
I was using Ubuntu 9.10 and ruby on rails with it. I had installed few
applications of rails in it. I use Aptana Rad Rails for all my
applications.
Everything was running fine until I updated my Ubuntu.
I upgraded to Ubuntu 10.04 online through update mangager. Then when I
run
rake db:migrate it gives the following error:
"rake aborted!
uninitialized constant
2010 Jan 24
2
Rails server error when rails starts
Hi guys,
i am having a little problem. I have installed ruby 1.9.1 and rails
2.3.5. Ruby is working just fine. The rails applications is being
created fine. But when i run the command ruby script/server i get an
error that says "The program can''t start because msvcrt-ruby18.dll is
missing".
I googled this message and is pointed to this page:
2007 Feb 14
5
[Semi-OT] Advice on large webmail setup
Hi all,
As the resident Linux guru, I've just been tasked with costing a webmail setup
for about 600 000 users. They each have 10MiB (small, I know) mailboxes. The
current setup has about 40 million web page accesses per month.
Has anyone here any experience with this kind of thing? If so, any pointers as
to software and hardware used, and any other advice would be appreciated.
TIA
--
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
2006 Nov 22
2
How ecord all calls?
Hi All!!
Prompt how to record all calls passing through certain span?
---
Thanks...
2005 Jan 29
2
problem in compiling asterisk addon
i have problem in compiling asterisk-addons 1.0.1
---------------------------------------------------------
[root@kamran asterisk-addons-1.0.1]# make
cc -fPIC -I../asterisk -D_GNU_SOURCE
-I/usr/local/mysql/include -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
../asterisk: Not a directory
make: *** [cdr_addon_mysql.o] Error 1
---------------------------------------------------------
i want to
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 Apr 13
2
running rails on my linux mint
Hi
i cannot start my rails server webrick and i m just start learning rails ..
the error i get is:
> /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11:
warning: Insecure world writable dir /sbin in PATH, mode 040777
/var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning:
Insecure world writable dir /sbin in PATH, mode 040777
=> Booting WEBrick
2010 Jan 26
1
Mongrels Hanging in mysql_adapter.rb
Hi everyone,
I have been trying to solve this problem for quite some time now and I
really don''t have any further clue to investigate.
I am running a mongrel_cluster 1.0.5-2 (mongrel verison : 1.1.5-5) on
a ubuntu box with apache2 2.2.12-1ubuntu2.1
I have 4 different apps on the same box and each app has two mongrel
instances.
After a short period of time ( < 2 hours ) some of the
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2009 Jun 30
2
First time problem
This is the first time I am Running ruby on rails.
When running the "blog" application I got the message
"We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly."
Then I checked the CODE\blog\log\development.log and got this: