search for: passengerruby

Displaying 20 results from an estimated 30 matches for "passengerruby".

2009 Jun 10
5
Deploying with Passenger question
Hi, I followed the instructions for deploying a site with Passenger from the screencast that is on the Phusion Passenger site and it didn''t work. I am using Dreamhost to host my site- could the problem be on their end? Someone suggested that I do: passenger-install-apache2-module on my command line but I already did that when I first installed Passenger and the Passenger Pref pane
2009 Sep 10
2
passenger with ruby enterprise edition
...ew'' from config.ru:1 apache2.conf looks just fine LoadModule passenger_module /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so PassengerRoot /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5 PassengerRuby /opt/ruby-enterprise-1.8.6-20090610/bin/ruby But apache2 starts fine with ruby gem''s passenger 2.2.2 where apache2.conf points to the ruby gem''s passenger LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so PassengerRoot /u...
2012 Mar 09
6
Puppet Dashboard - Directory Index Forbidden
...odes/unchanged Adding Options +Indexes is not the resolution as it just displays the static files in that directory. Here''s my /etc/apache2/sites-enabled/010-dashboard.conf: > #PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 > PassengerRoot /usr/lib/phusion_passenger > PassengerRuby /usr/bin/ruby > # you may want to tune these settings > PassengerHighPerformance on > PassengerMaxPoolSize 12 > PassengerPoolIdleTime 1500 > # PassengerMaxRequests 1000 > PassengerStatThrottleRate 120 > RailsAutoDetect On > <VirtualHost *:3000> > ServerName...
2012 Jul 10
19
problem using apache & passenger to run dashboard
Hi, My puppetmaster is running through apache, and now I am setting up dashboard to be run by apache too. I followed docs in http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers, but after I restarted httpd, I see a apache welcome page. I set documentroot to be: DocumentRoot /usr/share/puppet-dashboard/public/
2010 Aug 20
5
puppet dashboard gui looks odd from apache2
...But I do only see the directories and not the rails view of node. # tail /etc/apache2/apache2.conf (works perfect) # Passenger LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15 PassengerRuby /usr/bin/ruby1.8 # cat /etc/apache2/conf.d/puppetmasterd (works perfect) # you probably want to tune these settings PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 # PassengerMaxRequests 1000 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off Lis...
2009 Aug 13
5
First hit on app takes a long time
So, I''ve deployed my first rails app, however I''m the only one hitting it for now. I''ve noticed that the first time I hit the app after some long period, it takes a really long time to respond (2-3 seconds). After that, it''s very fast. At first, I thought it might be my VPS "waking up" from some sleep state, but Rails does log the long load time
2012 Dec 17
1
multiple puppet masters
...m using passenger so I am a bit confused how the virtual-host.conf file should look for my second puppet-master2.test.net. Here is mine: LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.18/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.18 PassengerRuby /usr/bin/ruby <Proxy balancer://puppet_ca> BalancerMember http://puppet-master1.test.net:8140 </Proxy> ProxyPassMatch ^(/.*?)/(certificate.*?)/(.*)$ balancer://puppet_ca/ ProxyPassReverse ^(/.*?)/(certificate.*?)/(.*)$ balancer://puppet_ca/ Listen 8140 <VirtualHost *:8140>...
2009 Mar 08
2
Premature end of script headers error using Rails 2.3.1 and Passenger 2.1.1
...d# cat passenger.load LoadModule passenger_module /opt/rubyenterprise/lib/ruby/gems/1.8/gems/ passenger-2.1.1/ext/apache2/mod_passenger.so /etc/apache2/mods-enabled# cat passenger.conf <IfModule passenger_module> PassengerRoot /opt/rubyenterprise/lib/ruby/gems/1.8/gems/ passenger-2.1.1 PassengerRuby /opt/rubyenterprise/bin/ruby # PassengerDefaultUser www-data </IfModule> I''ve commented out the PassengerDefaultUser directive, since the whole Apache process is running under the www-data user so it doesn''t seem to be necessary. However, now I''m getting the...
2012 Feb 06
1
Puppet / Passenger SSL Problems with DRBD
...Rate 120 RackAutoDetect Off RailsAutoDetect Off Listen 8140 <VirtualHost *:8140> ServerName puppetmaster.foo.bar LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/ passenger-2.2.11/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11 PassengerRuby /usr/bin/ruby CustomLog "/var/log/httpd/puppet_access_log" common ErrorLog "/var/log/httpd/puppet_error_log" SSLEngine on SSLCipherSuite SSLv2:-LOW:-EXPORT:RC4+RSA SSLCertificateFile /drbd01/puppet/var/lib/puppet/ssl/certs/ puppetmaster.foo.bar.pem...
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2011 Jul 01
0
Puppet dashboard cannot work behind a Apache reverse proxy?
...my vhost configuration in puppet-dashboard server: 1. 192.168.x.x /etc/httpd/conf.d/dashboard.conf where the puppet dashboard deployed: LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 PassengerRuby /usr/bin/ruby PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 PassengerStatThrottleRate 120 RailsAutoDetect On <VirtualHost *:80> ServerName server.myserver.local DocumentRoot /usr/share/puppet-dashboard/public/ <Directory /usr/share/puppet-dashboard/public/&...
2013 Oct 02
1
Confusion over installed versions
...tion 2012.01 # /opt/ruby/bin/ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-linux] # grep ruby /etc/httpd/conf/httpd.conf LoadModule passenger_module /opt/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.11/ext/apache2/mod_passenger.so PassengerRoot /opt/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.11 PassengerRuby /opt/ruby/bin/ruby So i guess i am using /opt/ruby/bin/ruby for live web site? So then when i try to do anything with the gem command it is not happy... # gem -v /usr/bin/ruby: No such file or directory -- ''--prefix=/usr'' (LoadError) # /opt/ruby-enterprise-1.8.7-2012.01/bin/...
2012 Jun 12
1
Dashboard with RackbaseURI / and RailsAutoDetect off
...f the configs when it fails *APassenger.conf * > # you probably want to tune these settings > > > LoadModule passenger_module > /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/ext/apache2/mod_passenger.so > PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12 > PassengerRuby /usr/bin/ruby > > PassengerHighPerformance on > PassengerMaxPoolSize 12 > PassengerPoolIdleTime 1500 > # PassengerMaxRequests 1000 > PassengerStatThrottleRate 120 > RackAutoDetect Off > RailsAutoDetect Off > *Dashboard.conf*: Listen 3000 > <Vi...
2011 Feb 10
3
ror 3 + apache2 + passenger = apache test page
...r and Apache install without errors. /etc/httpd/conf/httpd.conf: >> ... >> LoadModule passenger_module >> /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.2/ >> ext/apache2/mod_passenger.so >> PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.2 >> PassengerRuby /usr/local/bin/ruby >> PassengerDefaultUser root >> ... >> <VirtualHost *:80> >> ServerName 39pk.ru >> ServerAlias www.39pk.ru >> DocumentRoot /var/www/rails/zak >> RailsEnv production >> RailsBaseURI /app >> ErrorLog log...
2009 Sep 07
2
passenger-status error messages
...t;/VirtualHost> And this is what I appended to my stock apache2.conf file came with ubuntu 9.04''s apache2 # Passenger LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2 PassengerRuby /usr/bin/ruby1.8 Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscri...
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? # dpkg -i puppet-dashboard_1.1.0-1_all.deb Selecting previously deselected package puppet-dashboard. (Reading database
2010 Feb 25
0
Ruby on Rails application could not be started
...2.10) rack (1.0.1) rails (2.3.5) rake (0.8.7) sinatra (0.9.4) Furthermore, I put the passenger module into my apache conf LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.10/ext/apache2/mod_passenger.so PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.10 PassengerRuby /usr/local/bin/ruby A vhost exists for /pathToRetrospectiva/public . If I call the URL for my retrospectiva Host, I get the error "Ruby on Rails application could not be started" Error message: invalid byte sequence in US-ASCII Exception class: ArgumentError Backtrace from Brow...
2009 Apr 12
9
invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
hi all, platform: debian lenny, ruby1.91.p0, passenger/apache-multithread, rails2.3 in vendor/postres and sql server via odbc. all current gems. i have legacy asp content on win2k servers that i wrap in rails controllers. this all worked great with ruby1.8, but now that we are dealing with encoded strings in ruby1.9, i am having page crashes randomly as users have cut and pasted high ascii code
2011 Apr 20
2
Cannot get progress bars to work w/ Apache Progress Module
I am following this screencast http://railsillustrated.com/screencast-file-uploads-progress-in-rails-passenger.html as well as comparing this against all the other rails Apache Progress Module progress bar examples and I can''t figure out why I am always getting a 404 routing error: ActionController::RoutingError (No route matches "/progress"): I have a feeling that
2011 Jun 29
0
Setting up puppetmaster-passenger on Debian
...asterd/> Options None AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> /etc/apache2/mods-enabled/passenger.conf <IfModule mod_passenger.c> PassengerRoot /usr/lib/ruby/1.8 PassengerRuby /usr/bin/ruby </IfModule> Reason I picked that PassengerRoot path was logical deduction and not based on any documentation, because /usr/share/puppet/rack/puppetmasterd/config.ru says require ''puppet/application/master'' and the only directory structure that matches that pat...