search for: appname

Displaying 20 results from an estimated 143 matches for "appname".

2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All, I have successfully executed the "deploy" task in Capistrano/Switchtower to establish a symbolic link named "current" which points to the current version of my app. on my remote server. My app. was already deployed to the existing Rails root directory (call it "appname") though. I have Apache fronting my app. through a virtual host whose doc. root is itself a symbolic link to "appname". So to summarize, now I have appname/app appname/config . . . appname/vendor because of the "OLD" way, and I have appname/current/app appname/current...
2012 May 15
5
setting up the SQLite database
...n the ''one obvious'' way to set up an SQLite (or other) database and its location per-app. I''ve got a bit lost with the Camping 2 changes and various code snippets I have kicking around. 1. is it best to set up the DB creation/connection: 1.1 at the end of the app AppName::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''/path/to/my/app/myApp.db'' ) run AppName #from an old snippet 1.2 OR like this (postgres) example [Magnus]: def List.create List::Models::Base.establish_connection( :adapter...
2006 Apr 06
3
Apache as proxy for webrick
...ver running our nice app, and an apache server being used to serve the rest of the site and act as a proxy for the webrick app. <code> <IfModule mod_proxy.c> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /appname http://server.com:3000 ProxyPassReverse /appname http://server.com:3000 ProxyPreserveHost On </IfModule> </code> If you go to http://server.com/appname everything seem to work fine, however when the app needs to redirect it strips the appname out of the path. e.g. http://ser...
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to set up typo so that it also works (with a different url). I have 4 URLs running -- let''s call them foo.com, bar.com, www.typo.com and php.typo.com I am starting lighttpd by going into the directory where my foo.com app is and typing either ruby script/server or script/server -e production -- either
2006 Oct 02
1
Problems Deploying a Camping app on TxD
...`run'' from /users/home/me/web/app/app.rb:227 from /users/home/me/web/app/app.rb:225 ...the line in the app that it''s referring to (225) is in the postamble, the FCGI part: if __FILE__ == $0 require ''fcgi'' Dir.chdir(File.dirname(__FILE__)) Appname::Models::Base.establish_connection :adapter => ''sqlite3'', :database => ''appname.db'' Appname::Models::Base.logger = Logger.new(''camping.log'') Appname.create FCGI.each do |req| # line 225 ENV.replace req.env...
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2007 Dec 13
4
Weird Mongrel error: Not starting.
Hi list, I have a problem with Mongrel which is really bugging me. I would really appreciate any help that anyone can provide to help me in solving this problem. 1. My setup: Apache front_end with mod_proxy_balancer in front of 4 mongrel/rails instances of my application. Rails 1.2.5 Ruby 1.8.6 Mongrel 1.1.1 2. I noticed that the CPU consumption on my server was 100% being consumed by ruby so I
2009 Jun 16
2
OT - Tomcat CLASSPATH issue
if this is ignored then fair enough as its not really the place for it but if anyone has seen this it would be good to know tomcat is 6.0.18 CLASSPATH is set in /etc/sysconfig/<appname> and this IS getting used as _some_ configuration items are being picked up from /etc/<appname> but the issue is when default setting from within the webapp are not being overwritten by settings in /etc/<appname> ie if they are in /etc/<appname> and /var/lib/<appname>...
2006 Feb 11
5
Strange messages in "congratulations" mode
Hi All.. First off, I thought I''d let you know that im UBER new at ruby, so what im asking you may have a really simple answer... Anyway, i just started using RoR and i''ve set it up on OSX, running Apache2. It all goes fine and dandy, I get the "Welcome aboard" page to say that its all setup and running ok, but when I click on "About your applications
2006 Jun 07
1
delete app
Say I run: rails appname #generates the Rails App "appname" And it creates the entire folder structure. Is there a command to delete the entire app? -- Posted via http://www.ruby-forum.com/.
2011 Sep 20
1
sudo wildcards problem: for every argument a *-wildcard? Better solution?
Hi folks I allow the user tommy to run this command as root sudoCommand: /app/appname/connectors/*/*/current/bin/* With "sudo -l" he sees the sudoers, but is unable to execute. $ sudo /app/appname/connectors/zur/namename/current/bin/othername agentsvc --i --u root --sn 1m7command Sorry, user tommy is not allowed to execute '/app/appname/connectors/zur/namename/curren...
2011 Feb 04
6
A plugin inside an engine
In Rails 3, is it possible to have a plugin inside an engine? Adding the lib dir of the plugin to autoload_paths doesn''t seem to work. I can manage to load it by adding that path to $: and requiring the init.rb file, but I''m not sure that''s the correct approach. Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jun 09
1
RewriteBase w/ Capistrano on a shared host
Hello, I''m on a shared hosting, and tried this as a test: [code] svn co {repo} to /home/{user}/{appname} ln -s {appname}/public/ public_html chmod -R 755 trunk [/code] With the .htaccess file''s RewriteBase directive set to / This setup works great, with no problems at all. Here''s my issue, I''m attempting to use Capistrano, which is setup by default to checkout my app in...
2011 Aug 13
3
Japanese and Korean Fonts inside Wine.
I installed Ubuntu in English. How now, "Wine" to force to show the Korean (Hangeul) and Japanese (Hiragana/Katakana/kanji) fonts?.
2020 Feb 18
1
install_prereq install-unpackaged fails on Debian Buster
...ation] strncpy(ns->name, si->streamname, sizeof(ns->name) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nbsd.c:454:5: error: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Werror=stringop-truncation] strncpy(ns->app, si->appname, sizeof(ns->app) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘audio_acquire’, inlined from ‘merge_stream’ at nbsd.c:276:9, inlined from ‘timing_ready’ at nbsd.c:566:10: nbsd.c:221:4: error: ‘strncpy’ output may be truncated copying 79 bytes from a string of...
2009 Mar 22
2
wineboot not working as expected
...General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA # # determine the app Winelib library name appname=`basename "$0" .exe`.exe # first try explicit WINELOADER if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi # then default bin directory if [ -x "/usr/bin/wine" ]; then exec "/usr/bin/wine" "$appname&quot...
2006 Jun 01
4
refund of $63.80
<!-- HOME.RO Banners v0.1 --> <SCRIPT LANGUAGE="JavaScript"> <!-- browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 ))); if (browser) { if (parent.name != ''homepopup'') { open_this = ''http:...
2015 Mar 13
0
mysql replication - problems
...d a way to > get SSL enabled however. Any suggestions there? The method we use is to create an application specific directory under /etc/pki and place its certificates and keys in there. This is how several packages from RHEL/EPEL do things: drwxr-xr-x. 2 root root 4096 Mar 1 11:57 /etc/pki/appname -rw-r--r-- 1 root appname 2561 Mar 2 15:09 83.der -rw-r----- 1 root appname 3243 Mar 2 10:46 83.key -rw-r--r-- 1 root appname 9708 Mar 2 10:46 83.pem HTH -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte &...
2006 Jul 31
0
Can''t get into production mode!
...9;'m deploying my first rails app. I''m using lighty and fcgi, and cannot get the app to go into production mode. I deploy via Capistrano. When I dump ENV, RAILS_ENV is still ''development''. Is something overriding the lighty config? Here is the lighty config: var.appname = "mcalogin" server.port = 1411 server.modules = ("mod_rewrite", "mod_fastcgi", "mod_accesslog") server.username = "wwwrun" server.groupname = "www" server.pid-file = "/var/run/lighttpd.pid" accesslog.filename = "/var/log/li...
2006 Feb 21
0
Deployment question: running multiple applications using symlinks, what does my lighttp.conf look like?
...Also, what is the preferred way to setup lighty? I''ve got this so far, and it''s working, only switchtower can never find any running processes so the rake deploy doesn''t fully work because I still have to restart the server manually... $HTTP["host"] == var.appname { server.document-root = "/w/sites/" + var.appname + "/public/" url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) server.error-handler-404 = "/dispatch.fcgi" fastcgi.server = ( ".fcgi&qu...