similar to: NameError: undefined local variable or method `testapp' for main:Object

Displaying 20 results from an estimated 2000 matches similar to: "NameError: undefined local variable or method `testapp' for main:Object"

2008 Jun 06
1
Unexpected NameError when invoking task on worker
Hi, I''m brand new to BackgrounDRb and trying to figure out the setup. I cloned the git repository today as listed on the BackgrounDRb website. Starting out with a very basic worker, but BackgroundDRb is crashing on a NameError. Any help to resolve this issue would be greatly appreciated! Thank you in advance!! I am also attaching a text file with the output below since it might be
2007 Feb 20
1
"Text is not a module"
Hello all, After upgrading to Rails 1.2.2, I''m getting a strange error when one of my workers is invoked. The worker is responsible for monitoring a folder (using directory_watcher) and emailing a specific user when a file is dropped there, but it''s bombing immediately upon instantiation (or maybe when trying to instantiate ActionMailer?) with the error "Text is not a
2006 Aug 16
3
(no subject)
Hi everybody, We are developing several applications on a single server and I''m looking for a way to use mongrel with each of them. Right now, http://testapp.com/ is being served on that machine through apache and mongrel. Here''s what a part of my apache config looks like: <Proxy balancer balancer://testappcluster> BalancerMember http://127.0.0.1:8000
2006 Dec 16
5
trying to add another app
hey all, I have an app working great with apache2 and mongrel_cluster. However, I''m trying to run another application and now when I go to app1.comit falls to app2.com and the opposite. That''s probably because I messed up somewhere with the cluster. this is the content of my conf.d/app1.proxy_cluster.conf: <Proxy balancer://mongrel_cluster> BalancerMember
2014 Dec 10
4
PJSIP configuration question
Not sure why, but Vitelity changed the settings to IP based authentication on me. Here's the new sip.conf settings they sent me. type=friend dtmfmode=auto host=64.2.142.93 allow=all nat=yes canreinvite=no trustrpid=yes sendrpid=yes When I use these settings to originate calls using the sip.conf they sent me, everything works. Action: Originate ActionID: S8 Channel:
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
2006 Aug 15
5
Problems getting WEBrick server up and running (new to ruby)
Hello, I installed ruby and rails on Monday as I have been hearing great things about both the ruby language and rails framework. Installation went smoothly but I am having problems launching a WEBrick server so see what my newly created rails app is doing! My ruby/ rails installation: 1) Installed ruby directly by compiling the source code. 2) Working on a windows pc, using cygwin to run /
2012 Feb 25
1
Seems I'm missing some kind of library?
When I run "rake db:create --trace" in my rails directory, or if I attempt a "bundle install" I get the same error around missing "rubygems/format". I am new, but I am really hoping there is some way that I can discover which package this "rubygems/format" belongs in. I did a locate on "format" | grep gem and I didn''t find any
2006 Jun 05
3
Help installing Rails app on server
Hello, I''ve been creating Rails apps on Mac OS X just fine, and I just got a hosting account with webmasters.com, which offers Rails. I uploaded an empty app, just to see if I can get the "Welcome Aboard" page. I did get that page, but when I click on "About your application''s environment", I get "Not Found - Sorry, the requested URL
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi I have looked at google about this error as well as in ruby on rails forums, but I can not specifically locate the exact problem and the solution for it. Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails gem. But unfortunately whenever I try to create a test application by using "rails testapp", I am getting the follwing errror: $ rails testapp
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion repository, rather than first installing it as a gem? I can do the following if I already have an old gem lying around: merb -g testapp # using an old gem cd testapp rake merb:freeze_from_svn Unfortunately, that means I''m using an old version of the generator. So for example, when I just tried this,
2012 Jul 04
3
How to completely reinstall my rails environment on Mac Lion?
Hi, I was learning rails and have completed some projects. On my laptop everything worked for quite some time. However now when I run rails new testapp, for example it doesn''t generate even the first testapp. How can I completely reinstall a rails environment on my mac? I ran several step by step tutorials how to do this, but it seems that the old rails environment is conflicting. I
2009 Sep 25
3
NoMethodError : undefined method `stringify_keys!' for "2":String
Hi, I have been trying to create a small Rails application. In one of the steps, I am facing this error as "NoMethodError in ContactController#update ...... undefined method `stringify_keys!'' for "2":String". Let me give a brief description of the application. This application is to Create, View and Update contacts. The problem came when updating a record.
2006 Apr 17
2
Error by POP3 login
Hello! After the success to get Dovecot finally running i have now another problem, but don't know what is wrong there, this is the message i got: pop3(contact at maddy.cc): Failed to create storage with data: /var/vmail/maddy.cc/contact/ What does it mean? Thanks for help! -- Marc-Andr? Appel 1, Caball d'en Boux F-66740 Villelongue dels Monts France +33.(0)6.86.82.41.31
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys, I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl will not resize horizontally no matter what I''m doing. I''ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing
2009 Feb 13
1
How to define the main menu style
Hey Murali, I'm currently playing with the menu system (against latest git).That's a very nice toy you gave us, thanks ;o) I was just wondering if it's possible to put the main menu as a single line on top of the screen instead of having a big box on the top left on the screen. Having a single line a the top would leave me a lot of space for the sub menu. Erwan,
2006 Aug 16
3
New subscriber, new question
Hi all, I?m new to the list. I''ve working with mongrel for the last week and have some quetion about mongrel cluster: Is this (being executed from the application folder): # mongrel_rails start -d -p 3001 -e production # mongrel_rails start -d -p 3002 -e production # mongrel_rails start -d -p 3003 -e production the same as: # mongrel_rails cluster::configure -e production -p 3001 -N 3
2008 May 11
2
instabilities in wxRuby 1.9.6
I have recently started to use wxRuby, because I have used the wxWidgets library from C++ for a few years and found it an excellent toolkit. I am using Ubuntu 8.04 and version 1.9.6 of wxRuby. A problem though is a number of instabilities. This may be due to my own ignorance, but I have usually found C++/wxWidgets, once the program compiles it will at least stay working, if at times
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The problem I have is that the panel, and thus, the grid does not resize when the window width is expanded. Also, I would like the entire grid to be displayed without the horizontal scroll bar. How can I force this behavior? Please tell me if I am going about this incorrectly. I am just getting familar with wxRuby and any
2014 Dec 16
3
PJSIP configuration question
Ok Dan, try this... I was able to get this to work behind a NAT and with ip address authentication. [global] type = global debug = yes [transport1] type = transport bind = 0.0.0.0 protocol = udp *local_net=<yourlocalnet I.E. 10.10.10.10/24 <http://10.10.10.10/24>>external_media_address=<your public ip address>external_signaling_address=<your public address>*