similar to: Rails deployment issue... no such file or directory - getcwd? huh?

Displaying 20 results from an estimated 10000 matches similar to: "Rails deployment issue... no such file or directory - getcwd? huh?"

2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs when I run a "create" action but neither my action or before filters are hit before this exception. I''m hoping someone can give me a clue. I suspect it has to do with marshalling objects in the session - maybe TzTime is not capable of being stored in the session. I hope that''s not the
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi , I want realize a web service with rails, but it''s the response it''s very slow. I want only saw all element present in my base. I did a base Customers (with element like id, name, phone,...). I added two elements. I did a model customer, a web_service customer. In the file /app/apis/customer_api.rb class CustomerApi < ActionWebService::API::Base api_method :listid,
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>" when I tried to run my rails application after installing will_paginate. Details are as below: undefined method `page_count'' for #<Array:0xb7073e1c> Extracted source (around line #7): 4: <%= a.text%> 5: <% end %> 6: 7: <%= will_paginate @announcements,
2008 Mar 11
3
ActionController::NotImplemented (Only requests are allowed.)
We have a bunch of strange entries in our error log, and don''t know exactly what they mean: The errors are as follows ActionController::NotImplemented (Only requests are allowed.): /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ routing.rb:1437:in `recognize_path'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ routing.rb:1424:in
2007 Dec 23
8
will_paginate wont_paginate for me!
Sorry for the cheesy topic name couldn''t resist. B4 I go into details I''m rocking Rails 1.2.6. I''m hosting on MediaTemple and they seem to working on some issue between their grid servers and 2.0. I''m struggling with pagination. I spent a few hours discovering that everyone thinks you should use a plugin to do your paginations. It seems will_paginate is
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook up a database. "undefined method `model'' for ZingerController:Class" is the message I get from the server. I imagine I''ve left something out that is keeping me from connecting to the database, but I''m not exactly sure what. Your help is appreciated. bests, -rsr- session dump:
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment everything works fine, however following a deployment with Capistrano about an hour ago, I get the following error: PGError in HomeController#index FATAL: role "root" does not exist /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/postgresql_adapter.rb:713:in `connect''
2008 Mar 13
1
memcache_client fails Marshal.load of AR objects
wondering if anyone watching can make sense of this, I''m try to work the memcache_client into my app, but every time it tries to read from memcache I get a Marshall error that the AR classes are not defined. But it''s more vexing than that, as the error does not occur within the console. From a console everything works as expected, but when running in the app it fails.
2008 Dec 20
3
IMAP_Authenticatable Problem
Good morning all, I''ve been using the imap_authenticatable plugin for about a year now without incident. All of a sudden, I tried logging in this morning and this error is showing up in the logs. Does anyone have any idea what could be causing this or how to fix it? Thanks, Pete NoMethodError (undefined method `disconnect'' for nil:NilClass):
2009 Feb 25
9
local variables in partials lead to NameError
I know I must be doing something dumb, but I can''t seem to send a local variable to my partial. The below code leads to the following error: NameError in Residential_listings#new undefined local variable or method `foo'' for #<ActionView::Base: 0x3fb53f8> I am trying to call the variable ''foo'' in a partial called _attachment.html.erb, which is nested in
2006 Jul 18
6
backgroundrb - Connection closed
Hello, maybe someone can help with backgroundrb. I''ve written an application, which makes use of backgroundrb. Everything works fine on my development machine, but it crashes on my production server. Something seems to be wrong with backgroundrb, but I don''t know the cause. All I get is the error message attached below, which is extracted from the production.log. I
2006 Jul 20
5
Why don''t I get 404s?
When I go to a missing page in my rails app, I get the 500.html page, and this in my log output: no route found to match "/asdasd" with {:method=>:get} ./script/../config/../vendor/rails/actionpack/lib/action_controller/ routing.rb:1057:in `recognize_path'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ routing.rb:1047:in `recognize''
2008 Feb 04
3
Hello World: uninitialized constant ApplicationController
Have the Wrox guide, but still having problems getting my hello world to run (very frustrating! ;-) Installed latest InstantRails package for Windows (XP). Thank you so much for helping!! Dirk After creating the project directories, I created my \app\controllers\greeting_controller.rb file: class GreetingController < ApplicationController def greeting end end Then put in my
2008 Apr 09
5
intermittent BJ errors
hi all I''m running background tasks using BJ 1.0.1 (gem version). On some requests, the tasks are executed as expected. On others, I get the following error: RuntimeError (no bj found in ["/u/apps/igniter/releases/20080408205801/ script", "/bin", "/usr/bin", "/sbin", "/usr/sbin"]): when it runs, it runs fine but does anyone know what
2008 Aug 26
1
upload_column NoMethodError
Hi all, I''m using uploadcolumn plugin for file uploading. Followed the README file. Put "upload_column :src_file" in my model file as instructed, and i got this NoMethodError for the upload_column. This is the full trace: /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in `method_missing'' app/models/speech.rb:2
2006 Jul 24
2
Thread.new with ActiveRecord under Mongrel vs. FastCGI
Hi All, I''m going to end up hosting a site on a server in a fastcgi environment, but I''ve been doing most of my development under mongrel. I have a bit of code that spawns a thread, and in the thread it makes some remote calls (openuri) and does some database inserts via activerecord. When I do this under FastCGI, everything appears to work as expected. When I do it under
2006 Dec 27
6
file upload
I ma trying to get this upload working, http://mongrel.rubyforge.org/docs/upload_progress.html, ....after starting from the command line, mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf I get this eror in the browser, NameError uninitialized constant UploadProgressRailsController RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/.. Application Trace | Framework Trace
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then I get an ActiveRecord error, I cannot reproduce exactly what triggers it, hope you can help me, or give me tips on debugging this kind of stuff. This time I got the error reporting page, but normally I would just see the 500.html page, with no info about what went wrong. This is the error (it''s the complete
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use Java (Jws). But I wanna try ROR. There are less information about it. I can''t get install plugin in the ROR 2.0.x. So I followed the standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on Rails for PHP and Java Developers") I almost finished it. However, I can''t find my api