search for: testapp

Displaying 20 results from an estimated 92 matches for "testapp".

2007 Feb 20
1
"Text is not a module"
...there, but it''s bombing immediately upon instantiation (or maybe when trying to instantiate ActionMailer?) with the error "Text is not a Module". Thanks for any input on this one! stevie 20070220-14:41:56 (4800) Text is not a module - (TypeError) 20070220-14:41:56 (4800) /u/testapp/config/../vendor/rails/actionmailer/lib/action_mailer/vendor/text/format.rb:49 20070220-14:41:56 (4800) /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' 20070220-14:41:56 (4800) /u/testapp/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_suppo...
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 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 </Proxy...
2009 Aug 31
3
NameError: undefined local variable or method `testapp' for main:Object
Hi, I am new to Ruby on Rails. Recently, I downloaded and installed the InstantRails in the D:\ drive of my system. Now I wanted to try some small examples in ''irb'', so I created a file "testapp.rb" and in that pasted a code like this: ======================== class sample_class def sample_method puts "sample program" end end myclass = sample_class.new myclass.sample_method ======================== Now when I give command (To run the ap...
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all, I had some specs that were using fixture_file_upload that were passing just fine. Then I froze edge rails to get some 2.0 functionality, then a I upgraded to trunk rspec to deal with uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper After a couple other of tribulations, I have now gotten down to just a couple of not passing specs, all using the fixture_file_upload.
2006 Nov 13
1
Service Temporarily Unavailable when using apache
hey all, I''m trying to do a mongrel_cluster+apache2 config. this is my testapp.conf: <VirtualHost *:80> Include /etc/apache2/conf.d/testapp.common # ErrorLog logs/testapp_errors_log # CustomLog logs/testapp_log combined </VirtualHost> this is my testapp.common: ServerName myapp.com DocumentRoot /home/patcito/testapp/public/ <Directory "/home/pa...
2006 Dec 16
5
trying to add another app
...8004 </Proxy> Maybe I need to change the name of my mongrel_cluster but I''m not sure how to do this :/ this is my sites-enabled/app1.conf: NameVirtualHost app1.com:80 <VirtualHost 88.191.38.108:80> ServerName app1.com ServerAlias www.app1.com DocumentRoot /home/patcito/testapp/public/ Include /etc/apache2/conf.d/testapp.common </VirtualHost> this is my conf.d/app1.common: <Directory "/home/patcito/testapp/public/"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On...
2014 Dec 10
4
PJSIP configuration question
...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: SIP/outbound.vitelity.net/8005555555 Exten: createcall Context: TestApp Priority: 1 Timeout: 60000 CallerID: John Doe <1234> Variable: CALLERID(num-pres)=allowed_passed_screened Async: true I translated those settings to the following for pjsip.conf... [transport1] type = transport bind = 0.0.0.0 protocol = udp [outbound.vitelity.net] type = aor remove_existi...
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...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 httpd.conf: <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> FastCgiIpcDir /tmp FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi" -idle-timeout 20-initial-env RAILS_ENV=development -processes 2 FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1 [ ... ] <Directory /tmp/rubystuff/testapp/public> RewriteEngine On RewriteRule ^$ index.html [...
2008 Jun 06
1
Unexpected NameError when invoking task on worker
...create(args = nil) # this method is called, when worker is loaded for the first time end def keep_count count = 1 end end Then I am starting BackgrounDRb and using the console to invoke the worker, but run into this problem, and not sure what is going on: [d96440a6 at d96440a6 ~/testapp]$ script/backgroundrb start [d96440a6 at d96440a6 ~/testapp]$ ruby script/console Loading development environment (Rails 2.0.2) >> MiddleMan => #<BackgrounDRb::WorkerProxy:0x8675b6c @mutex=#<Mutex:0x8675b44>> >> worker = MiddleMan.worker(:basic_worker) => #<Backgrou...
2006 Aug 15
5
Problems getting WEBrick server up and running (new to ruby)
...ed ruby directly by compiling the source code. 2) Working on a windows pc, using cygwin to run / compile etc. 3) Ruby appears to be installed correctly and I have been able to successfully run code. 4) Rails installed through ruby gems. 5) Rails appears to be installed correctly i.e. running rails testapp ins cygwin creates all the expected directories for a testapp application. 6) Using MySQL to create databases, appears to be installed correctly I can run SQL from the cygwin command line, create databases tables etc. 7) Created the appropriate databases for the apps and info matches up with da...
2006 Feb 03
0
FastCgiExternalServer vs. static/dynamic
I''m trying to switch to the "external" fcgi method. In httpd.conf, this works: FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi" -idle-timeout 20 -processes 4 FastCgiConfig -maxClassProcesses 2 -maxProcesses 2 -minProcesses 1 -processSlack 1 This fails with an error (the public/500.html page is returned): FastCgiExternalServer "/tmp/rubystuff/testapp/public/dispatch.fcgi" -idle-time...
2006 Jun 05
3
Help installing Rails app on server
...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 /testapp/public/rails/info/properties was not found on this server." I''ve requested support from the host, and they say they cannot help me, that other users have gotten it to work, and that it is a coding issue. I''ve also tried uploading a working app, setting up the database, etc...
2014 Dec 10
0
PJSIP configuration question
...t; 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: SIP/outbound.vitelity.net/8005555555 > Exten: createcall > Context: TestApp > Priority: 1 > Timeout: 60000 > CallerID: John Doe <1234> > Variable: CALLERID(num-pres)=allowed_passed_screened > Async: true > > > I translated those settings to the following for pjsip.conf... > > [transport1] > type = transport > bind = 0.0.0.0 > pr...
2006 May 30
0
url_for_file_column and image_tag not working right together
i just got file_column working and i love it. but i''m having some problems with the urls. my application is not in the base directory, it is in a folder called "/testapp". when i use "image_tag" with "url_for_file_column", i get this path: /testapp/testapp/entry/image/3/myimage.jpg the image is located at: /testapp/entry/image/3/myimage.jpg to see if it was my file_upload making the wrong urls, i tried something like: <%= link_to...
2012 Feb 25
1
Seems I'm missing some kind of library?
...-1.0.22/lib/bundler.rb:110:in `setup'' /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/setup.rb:7 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:104:in `gem_original_require'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:104:in `require'' /home/dev/testapp/config/boot.rb:6 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:39:in `gem_original_require'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:39:in `require'' /home/dev/testapp/config/application.rb:1 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:39:in `gem_o...
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
...ogle 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 /apps/gcti/ccon_rep/cfile//lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/oracle_adapter.rb:520: undefined method `define_a_column'' for class `OCI8::Cursor'' (NameError) from /apps...
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, the generator made a conf/ directory, whereas the code in trunk expects config/. Equally, I can''t tes...
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
...nother website with basically the same instructions (don''t have URL handy now, sorry). Other resources on the web don''t appear to have different information. * We have a test application with a simple fake controller made to check if everything works. This resides in /home/user/testapp, but we have a symlink set up in /var/www/test linking to the public/ dir under the application. * We have Apache 2 running (although we later tried with 1.3, giving the same problem). * We installed the latest version of mod_fastcgi (after installing the Developers Kit). * We installed the fcg...
2014 Dec 14
0
PJSIP configuration question
...s again after my first away from work in a couple weeks. Running Asterisk 13.0.0 IP authentication with Vitelity I can Originate with sip, but not pjsip. Here is the sip settings and trace. Action: Originate ActionID: S8 Channel: SIP/8005555555 at outbound.vitelity.net Exten: createcall Context: TestApp Priority: 1 Timeout: 60000 CallerID: John Doe <1234> Variable: CALLERID(num-pres)=allowed_passed_screen Async: true sip.conf [HVout] type=friend dtmfmode=auto host=64.2.142.93 disallow=all allow=ulaw canreinvite=no trustrpid=yes sendrpid=yes nat=yes context=TestApp == Using SIP RTP CoS mar...
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 also downloaded Xcode already, tried rvm, tried Homeb...