search for: myapp

Displaying 20 results from an estimated 408 matches for "myapp".

Did you mean: my_app
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi, I have a trouble with deploying my ordinary rails application(myapp). When I execute ''rake deploy'', [...] command finished * executing task symlink * executing "ls -x1 /var/www/myapp/releases" servers: ["app1.olalog.com"] [app1.olalog.com] executing command command finished * executing "ln -nfs /var/...
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2005 Dec 30
2
scgi apache routes help needed
...ing in a sub directory of a site using apache and scgi. The application runs fine with webrick. I have a site. Let''s call it "mysite.org". There is a variety of content on that site. I would like to add a rails application to that site. Let''s call the application "myapp". So we will have urls of the form http://mysite.org/myapp. I''m trying to use scgi with the existing apache installation. What is the current required changes to 1. httpd.conf 2. myapp/public/.htaccess 3. myapp/config/routes.rb 4. any others? I''m attracted to...
2013 Jul 02
1
rpmbuild environment CentOS5 vs CentOS6
On CentOS5 I was used to create a simple spec file where at the end I'll declare files and directories I wan't to package: --< Snip >-- %files %dir /opt/myapp %dir /opt/myapp/bin %dir /opt/myapp/etc /opt/myapp/bin/exec01 /opt/myapp/etc/myapp.conf ---- I'll copy the file in /usr/src/redhat/SPECS and run "rpmbuild -bb myapp.spec". On CentOS6 rpm-build package no longer creates the /usr/src/redhat/... directory tree. I followed the CentOS6 W...
2006 Dec 01
4
uninitialized constant error in app but not when using console
I''ve got a wierd issue here and maybe someone can assist i created a module in my apps lib directory which i use for authenticating against an external source (among other things). lib/myapp.rb ----------------- require ''rubygems'' require_gem ''activerecord'' # uses activerecord odbc adapter by openlink module MyApp module ExternalSource class Connection < ActiveRecord::Base def self.authenticate(opts = {:login => "", :pas...
2007 Jan 25
6
NOT FOUND error
...I try to talk to my mongrel it simply responds with NOT FOUND and nothing else. I can''t find anything on google because this has to be the second most commond phrase in existence. Any help or guidance would be greatly appreciated. Sincerely, Chuck Vose --- mosaic.common: ServerName myapp.tld ServerAlias www.myapp.tld DocumentRoot /var/www/apps/myapp/current/public <Directory "/var/www/apps/myapp/current/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On # Uncomment for...
2009 Apr 30
1
odbcConnectAccess function
HI: Is it possible to use the RODBC package within MS Access. I have been using from R but was just wondering if it could be used along with R(D)COM. Something like this: Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim myApp As StatConnector Set myApp = New StatConnector myApp.GetErrorText myApp.Init "R" myApp.EvaluateNoReturn "library(RODBC)" myApp.EvaluateNoReturn "myDB <- odbcConnectAccess(CurrentDb)" 'query the database and save it as R object 'a' myApp.EvaluateNoReturn...
2006 Jul 07
6
mongrel/win32/apache2 link modification question.
I have apache2 - mongrel 0.3.13.3-mswin32 running, on a server 2000 pc, by folowing the ''Serving Multiple Rails Applications on Windows with Apache and Mongrel'' ( http://tinyurl.com/z9ftz ) the question I have is why is why is http://localhost/myapp/ addded to the front of all my links and how can I stop it? origanal link using webrick /employees/edit/1214 now it''s http://localhost/myapp//employees/edit/1214 John Ivanoff
2007 Jun 09
1
Rake test tasks only work with --trace
...t looks to me like the schema dump is running into problems. I just can''t figure out why it works for some tasks and not other. They all seem to go through the same db building process. The app is running with Rails 1.2.2 frozen into vendor/rails. Jordan http://jordan.mckible.com /dev/myapp/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1127:in `write'' /dev/myapp/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1177:in `finalizer'' /dev/myapp/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/...
2006 Mar 09
3
OT: Subversion repository layout
Hi, I''m trying to get a nice repository structure happening and was wondering what other people like to use. I''m about ready to publish a rails app. This app now lives in myapp/trunk When this app goes live I will need to freeze it so I will copy myapp/trunk to myapp/tags/release-1.0 (right?) I also would like to get going on a new version which will break the current version in many many ways. Where will I store this? I guess I can use /myapp/branches/2.0 but what h...
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
...ccessible from the subdomain. This is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer -> mongrel cluster. I''m sure I''m missing something obvious in the config... I have the conf files pasted below. Should I just be able to set the ServerName like I did in myapp.conf for this to work? Do I need to do something else in the stock apache config? Here''s the relevant config files: mongrel_cluster.yml: ======================== cwd: /var/www/apps/myapp/current port: "8000" environment: production address: 127.0.0.1 pid_file: log/mongrel.pid...
2008 Sep 03
1
edge rails config.cache_classes = true breaks applications
...uble when using the production environment -- i tracked down the problem to the following line config.cache_classes = true if i disable the class caching, everything works just fine, when enabling the cache_classes, lots of errors get dropped -- see the output below: error #1: /Users/zecko/GIT/myapp/vendor/rails/activerecord/lib/active_record/base.rb:1742:in `method_missing_without_paginate'': undefined method `file_field'' for #<Class:0x36b049c> (NoMethodError) from /Users/zecko/GIT/myapp/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing...
2005 Feb 22
2
Custom Menu Not Working
...er presses 1 it goes to ext200, if caller presses 2 it goes to ext201 etc etc... Now I have created a third option that when the caller presses 3 it must play a sound and hang up. No rocket science yet. When adding the details in AMP for when caller dials 3, I have referenced it using 'custom-myapp,s,1', and if I go to 'extensions_additional.conf' I see the following line under the rest of menu item info that was created : "exten => 3,1,Goto(custom-myapp,s,1) ;" and in the extensions_custom.conf file I have [custom-myapp] exten => 3,1,SayDigits(1234) exten...
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
...f. Packagers should be able to build the application with klibc if available, with plain gcc otherwise, as follows: $ cd ~/klibc-0.202 $ ... make linux symlink $ make bindir=$HOME/local/bin \ mandir=$HOME/local/man \ INSTALLDIR=$HOME/local \ SHLIBDIR=$HOME/local/shlib \ install $ cd ~/myapp $ ./configure --prefix=$HOME/local CC=$HOME/local/bin/klcc It turns out klcc needs a few tweaks to function as a drop-in gcc replacement, specifically: * support -D -U -I options * fix klcc -c myapp.o myapp.c * fix klcc -o myapp myapp.o Regards, Erik diff -urN klibc-0.202/klcc.in klibc-0.20...
2006 Jun 17
4
Win32 issues with 0.3.13
...website documentation on the Win32 howto lists service::delete as a command but it should be service::remove 3. When installing my app as a service, I have to point to the \public directory in order for everything (scripts and stylesheets) to work right: mongrel_rails service::install -N myapp -r c:\path\to\myapp\public -p 4000 FWIW, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060617/e522dde1/attachment.htm
2006 Jun 27
3
Capgem 0.1 Released
...ils application as a Gem. This is useful if you are in an environment where Capistrano''s remote deployment tools aren''t an option. Capgem currently adds start and stop scripts for launching your app via mongrel even if it is in the Ruby gems directory. You can just type sudo start-myapp or sudo stop-myapp from anywhere on the system to launch once you''ve installed from your Gem. You can also use ''gem install -i /path/to/install yourapp.gem'' to install in a specific location. URL: http://rubyforge.org/projects/capgem Feedback is welcome. Sincerely, Ant...
2007 Jan 30
1
Backgroundrb weirdness with multiple mongrels
...ckgrounrb_server.log. The top of the backtrace is shown here: 20070130-12:03:03 (92473) failed to find slave socket - (RuntimeError) 20070130-12:03:03 (92473) /usr/local/lib/ruby/gems/1.8/gems/slave-1.2.0/lib/slave.rb:435:in `initialize'' 20070130-12:03:03 (92473) /usr/local/www/rails-apps/myapp/releases/20070130101502/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:210:in `new'' 20070130-12:03:03 (92473) /usr/local/www/rails-apps/myapp/releases/20070130101502/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:210:in `new_worker'' 20070130-12:...
2006 Jul 13
3
How do I pass parameters to my program when using WINE?
...trying different things I've found in Google, but none have seemed to work yet. The parameters work in a Windows environment, so I do believe the program is okay. This is on a SUSE/SLES 9 machine using WINE .917. If I want to pass the parameter "/SLEEP:10" to a program called "myapp.exe", how would I do it? I've found and tried the following formats, and none have worked so far: wine myapp.exe /SLEEP:10 wine /full/path/myapp.exe /SLEEP:10 wine "/full/path/myapp.exe /SLEEP:10" wine myapp.exe -- /SLEEP:10 wine myapp.exe -- myapp.exe /SLEEP...
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI: Webrick Debug: [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in `flush'' C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in `out'' C:/MyApp/Server/public/../config/../vendor/rails/railties/lib/...
2009 Feb 04
0
subdomain_fu rewriting wrong with tld size 2 ?
I have a website on a demo server at: mycompany.com I have a Rails app with subdomain_fu. I''ve verified it''s running in the right environment and set the TLD Size to "2" so I can have: myapp.mycompany.com admin.myapp.mycompany.com *.myapp.mycompany.com (for users'' customized landing pages) This works great on my local computer with "myapp.local" and "admin.myapp.local" but on my dev server, I''m getting URLs like http://myapp.mycompany.com/myapp...