similar to: problem with rails_root

Displaying 20 results from an estimated 10000 matches similar to: "problem with rails_root"

2008 Jun 04
2
gem_original_require
Hi all, my computer decide to take a dirt nap today so I am trying to relaod rails on another machine and I am getting this error message which I can''t make heads or tails about: no such file to load -- postgres RAILS_ROOT: ./script/../config/.. c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
2007 Oct 07
10
Rails to English
I am currently using the book "Agile Web Development With Rails" (2005). I am working on a fully function web application that has a shopping cart. The web page displays this, ActiveRecord::StatementInvalid in AdminController#create Mysql::Error: #23000Column ''date_available'' cannot be null: INSERT INTO products (`image_url`, `date_available`, `price`, `title`,
2005 Mar 23
1
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
I am getting random can''t connect to MySQL server errors on my Rails application located at http://www.thedatingguy.com/blog Do you have any clue why this is happening? This is the error: Mysql::Error (Can''t connect to local MySQL server through socket ''/tmp/mysql.sock'' (61)):
2005 Dec 01
0
symlink and 0.14.3
Hi! I have a little problem with 0.14.3. I followed the http://wiki.rubyonrails.com/rails/pages/HowtoUseSymLinksToGraftRailsOntoYourWebsite but it''s not work. My rails directory is /home/boci/ujautoszalon and I symlinked the public dir to /home/httpd/htdocs/ujautoszalon2, but it''s not find the database.yml file. Here is the whole log:
2007 Jan 09
0
Production Mode with SCGI
Hi, I have an application running on Apache SCGI (Win XP). Once I run it in production mode (scgi_ctrl config -S -e production ) I''m getting stack trace instead of HTTP status 500 (Application Error) and the error is logged production.log. The application works fine without SCGI. Your help is highly appreciated.... Thanx /* production.log */ # Logfile created on Thu Jan 04 16:35:43
2008 Jan 03
7
error message after upgrading ruby
hi first off all a happy new year to you all. I''m using netbeans 6 and ruby 2.02. at this point I get my index page in my view in this format index.html.erb and not like before index.rhtml when I enter localhost:3000/lijsten/index I get the following error message Errno::EBADF in LijstenController#index Bad file descriptor - connect(2) RAILS_ROOT:
2006 Jan 21
2
problems in moving an application database from a local to a remote mysql server
hi. i''ve an application which is using a local mysql server (on localhost). i then moved the mysql server to another machine (remote host) and changed accordingly the "database.yml" file. when i launch webrick from the "localhost", it can connect to the database but as soon as i call a controller of the application (for example
2007 Dec 10
0
mysql error with rails 2.0.1
Hello Friends, Sorry for my bad english.I am a rails novice. I successfully install rails 2.0.1 and activerecord 2.0.1 in my windows Xp sevice pack 2 system. I am trying to develop simple rails application which does not require database. 1st i type from my command prompt: rails myapp then I create a controler : myapp/script>ruby generate controler hi index after that i start the webbrick
2005 Dec 12
4
Rails crashes over night?
I''m running Ruby on Rails on Fedora Core 4 with lighttpd and fastcgi. I also used the login generator (don''t know if relevant). I have the following problem: At day time I work on the server and create/modify ruby files on the server, all pages work fine. Than the next day I want to open de server I get the error at the end of this message (on all pages, including non protected).
2007 Dec 14
3
Issue with upgrading to 2.0 on Leopard? Or something else?
Sorry if this has been covered, but I finally decided to upgrade to Rails 2.0 (running Leopard and previously at rails 1.2.6) so I could start using some of the great new features. I ran the usual "sudo gem install rails --include-dependencies" to upgrade and now my development environment is all out of whack. I suspected MySQL, but I''ve already made sure I was using the
2006 Sep 06
5
admin controller problem
I am reading the agile web development with rails book, and starting to create the depot. I am getting the below error after setting up the "ruby script/generate scaffold Product Admin" does anyone know what the problem is? NameError in AdminController#index uninitialized constant Mysql RAILS_ROOT: ./script/../config/../ Application Trace | Framework Trace | Full Trace
2006 Jan 05
2
Rails 1.0 Crashing: Errno::EPIPE (Broken pipe):
Since we upgraded to Rails 1.0 and lighty last week we''ve had the rails application crash daily with the following error in the production.log file: Errno::EPIPE (Broken pipe): /usr/local/lib/ruby/1.8/mysql.rb:1042:in `flush'' /usr/local/lib/ruby/1.8/mysql.rb:1042:in `write'' /usr/local/lib/ruby/1.8/mysql.rb:462:in `write''
2006 Jan 13
1
ActiveRecord: using with multiple threads/DB connections
Hi, I''m totally new to Ruby and Rails and I''m trying to set up a prototype web site. Unfortunately, I''m having problems with ActiveRecord using multiple threads. What I want to do is fairly simple. I have a Controller that receives and saves data from the web in the DB, but once that''s done I want to process this data in another thread and then save the
2007 Mar 18
2
mongrel timing out
I am not sure when it exactly occurred but I have 2 servers I am about to migrate to apache+mongrel from lighty+fastcgi oddly, both my servers seemed to have died at the same time everytime I restart within a 24 hr period ( I don''t know when, my logs don''t show it ). Can someone please point me in the direction of what I need to do to trace the cause of this. Or what you would
2006 Apr 02
2
Problem with lighttpd on mac
Hi, I followed the instructions I founded here : http://developer.apple.com/tools/rubyonrails.html I can run a small RoR application with webrick, everything is fine in this case. But when I try to use lighttpd i can access http://localhost:3000/images/rails.png for example but not a dynamic page. In the latter case I dont get any page, the browser is just waiting infinitely. If I force
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
Hello, Thank you for the fast responses, I really appreciate. I really enjoy being a part of such a great community. I still could not solve my problem. To make sure that I can not connect beacuse of access rights, I have started mysql server --skip-grant-tables option. (I have read the part of the manual about access rights, which I was to read in this list, but 4 AM in the morning, I had hard
2009 Sep 30
1
Can't connect with MySQL database
I just installed MySQL and its drivers on a Mac OS X Leopard. When I issued my rails command to build a new app, then issued the script/ server command and connected to my localhost:3000 in the browser, I saw the following problem with MySQL. I changed/updated the PATH in nano, and it can see MySQL fine. So I really don''t understand the problem. Can you tell me what I need to do? Thank
2006 Apr 30
3
MySQL connection problems on Dreamhost
To all fellow Dreamhosters out there... Sometimes my app mysteriously loses its connection to the database, resulting in a big ugly "Application Error (Rails)" page. Usually refreshing the page makes it go away, but not today. :-( In production.log I see this: MysqlError (Lost connection to MySQL server during query): Any idea why this happens? It''s rather intermittent
2007 Jul 18
6
Yet another "mongrel dying daily" case
I was hoping that someone can help me with this, which have been driving me nuts -- I have had my mongrel cluster dying daily. And yes, I have gone through the check list of possible causes: I don''t do log rotating I use active_record for session storage I don''t use SQLite and Berkeley DB The MySQL timeout is set to 3600 I am using only 10% of the memory. I am using RedHat
2006 Jun 30
0
find_by_sql not quoting properly (in acts_as_taggable plugin)
I have run into a very strange problem discovered through the use of the acts_as_taggable plugin, but related to quoting/sanitizing the interpolated list in a find_by_sql. Apologies for the length, but I wanted to be complete. ;-) The method from acts_as_taggable.rb is: def find_tagged_with(list) find_by_sql(["SELECT #{table_name}.* FROM #{table_name}, tags,