similar to: Trouble Running my new controller

Displaying 20 results from an estimated 7000 matches similar to: "Trouble Running my new controller"

2006 Jan 12
6
Mysql::Error: Lost connection to MySQL server during query
I have been very VERY frustrated for the past week trying to solve a seemingly spurious problem with my Windows XP SP2 box with Ruby 1.8.2/Rails 1.0.0/MySQL 5.0.16 or 4.1.15 (yes, I tried both) installed running against a remote MySQL server that was either 3.23 or 4.1 (4.1.15 to be exact--we finally matched them both up to make sure that wasn''t the problem). So I post it here (as
2006 Apr 21
1
"Lost connection to MySQL server" error
Have things running great on my local webrick. Decided to set things up on the local server and I get this error: Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM users RAILS_ROOT: script/../config/.. So I thought it might be struggling to connect to mysql, so I tried with sockets instead of port 3306. No difference unfortunately. I can connect successfully to
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions: http://xmlareas.com/ruby-rails-howto.html Using Fedora Core 4. I installed ruby and ruby-devel using apt-get. Everything under Adding FastCGI (optional) works fine up to the gem install fcgi part. Here is what happens: [root@paulbarry fcgi-2.4.0]# gem install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib
2007 Jun 27
1
gem install mongrel fails
Hi All, I''m try to gem install mongrel, but one of its dependencies fails to compile ''cause gcc doesn''t like the -mtune parameter. Is there a way to remove this parameter or cause gcc to ignore it, etc.? make gcc -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux - I. -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC - c fastthread.c
2006 Apr 03
16
Dealing with Application error (Rails) in production
Hi all, Week 2 working with Ruby on Rails... I have a working app in development that is now throwing a generic, "Application error (Rails)" message in production. How do I deal with this so I can find more information about why the error is being thrown in production, but not in development? Thanks! -- Posted via http://www.ruby-forum.com/.
2011 Jan 08
1
Unable to build dovecot 2.0.8 on Ubuntu Server 9.10
I'm trying to build dovecot version 2.0.8, but I always end-up with this error: libtool: link: i486-linux-gnu-gcc -std=gnu99 -O3 -mtune=prescott -march=prescott -fomit-frame-pointer -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -o .libs/anvil main.o anvil-connection.o anvil-settings.o connect-limit.o
2010 Mar 11
14
trying to install postgres gem on fedora 12 ..
I get these errors : gem install pg -- --with-pgsql-include-dir=''/usr/include/pgsql'' -- with-pgsql-lib-dir=''/usr/lib/pgsql'' Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql -- with-pgsql-lib-dir=/usr/lib/pgsql
2009 Jul 12
3
Installing mysql with macports
Not sure if this is off topic, but there doesn''t seem to be an obvious place to ask this question. I am trying to use MacPorts to install mysql. I have xcode 3.0 and x11 XQuartz 2.1.6 installed. $PATH: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ local/bin:/usr/X11/bi When I sudo port install mysql5-server I receive: ---> Configuring mysql5 Error: Target
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
2007 Feb 27
0
Error Installing MySQL Native Bindings with DarwinPorts
Hey Folks, I''m just getting up and running, using DarwinPorts and encountered a MySQL error when trying to install. Would appreciate any insight any of you might be able to offer to resolve this. I''m trying to install the MySQL Native Bindings for a performance boost on the MySQL adaptor. The specific tutorial I''m following is as follows:
2009 Feb 25
2
gem install mysql --> Error
Hi, When I try to install "gem install mysql" it throwing error. For your ref, bash-2.05b$ gem install mysql -- --with-mysql-dir=/opt/etrade/p6/share/mysql5 ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find gem mysql locally or in a repository bash-2.05b$ gem install mysql -- --with-mysql-config=/opt/etrade/p6/share/mysql5/bin/mysql_config
2012 Mar 31
1
trouble compiling on Windows
Dear R People: I'm trying to compile R-2.15.0 on a 64 bit Windows machine. However, I'm getting the following error: c:\R64\R-2.15.0\src\gnuwin32>set TMPDIR=c:\temp set TMPDIR=c:\temp c:\R64\R-2.15.0\src\gnuwin32>make all recommended make all recommended make[1]: `MkRules' is up to date. make[4]: Nothing to be done for `svnonly'. installing C headers make[2]: Nothing to
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
2012 Aug 12
1
trouble compiling R-patched from source on Windows 64 bit
Hello! I'm trying to install R-patched from source on a Windows 64 bit laptop. I have installed R-tools 2.16 and set up the jpeg, tiff, and libpng files Here is the output: c:\R64\R-patched\src\gnuwin32>make all recommended make all recommended make[1]: `MkRules' is up to date. make[4]: Nothing to be done for `svnonly'. installing C headers make[2]: Nothing to be done for
2011 Dec 10
2
Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again.
Greetings, I am trying to get MySQL to run with Rails, but when I try to get it to run using "rails dbconsole" I get this error: C:\IS410\Programs\sqltest3>rails dbconsole Couldn''t find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again. I have MySQL installed, along with the MySQL driver. I read alot of posts in forums saying it might
2006 Mar 25
4
the textilize method
I saw the guy in the 15 min blog video calling a method called textilize however when i call it rails says it cant find this method. Is this somehting extra i have to install to ruby... like a gem or somehting -- Posted via http://www.ruby-forum.com/.
2007 Jan 17
1
error when trying to create mysql database
hey guys My macbook pro 17 had to be taken back to apple beuase of a dud screen, so have had to install from macports again. When i attempt to create a mysql database with this: mysql5 -u root depot_development i get this: ERROR 2002 (HY000): Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (2) any ideas? cheers! Adam --
2006 Jun 07
5
check_box:how to update 2 checkboxes dependent on each other
I''ve got the following problem, I''ve created two check_boxes in my view. The user has to select one check_box, but isn''t allowed to seth both of them together on true. Now i am looking for functionality that can help me doing the folling: Scenario 1 CheckBox1 = True, The user sets CheckBox2 from False to True, now CheckBox1 should automatically become False.
2006 Feb 11
1
Fastcgi and mysql woes
Hi, I have been heck of a time to get mysql and fastcgi to work properly on my Mac OS X box. I keep getting the following error: Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (13) I have even tried commenting out the "socket" option in my database.yml but it still gives me the same error. I''m ok when I
2004 Aug 06
2
xslt-config
after running sh autogen.sh and Icecast begins to complie (is this the correct term) I get the folling: .. checking for getaddrinfo... yes checking for inet_pton... yes checking for xslt-config... no configure: error: xslt-config could not be found Could some one please explain. Thanks ! <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: