similar to: Passenger running Rails site on GlusterFS

Displaying 20 results from an estimated 80000 matches similar to: "Passenger running Rails site on GlusterFS"

2010 Oct 03
4
Error Running Rails 3 Application under Phusion Passenger
I have a rails 3 application that runs without problems under WebRick (on Ubuntu) that generates the following error in the browser when I run under Apache2 with Phusion Passenger: Ruby (Rack) application could not be started Error message: no such file to load -- bundler Exception class: LoadError I have googled and found one or two posts with this problem but none with solutions.
2011 Mar 31
2
multiple vhosts running off of one passenger/rails app
Hi, I''ve been googling quite a bit - but up until now to no use :( My problem is how to configure Apache conf (and perhaps Passenger) for this setup to work: <VirtualHost *:80> ServerName oxen.company_A.com DocumentRoot /var/www/html/oxen/sites/company_A/public PassengerAppRoot /var/www/html/oxen SetEnv OXID 23 </VirtualHost> <VirtualHost *:80>
2011 Mar 25
1
undefined method `init' for Mysql:Class on Mac with rvm and Passenger 3
I tried to find some help in the Passenger group without luck. I would not like to use mysql2 gem (it gives an error too) because in production I have to use mysql gem anyway. I moved to Passenger 3 and I am not able to run a Rails 2 and a 3 apps. They both uses Passenger 3 (latest) and ree 2011.03. The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes The Rails 3: NoMethodError
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
Hello, I am configuring apache 2.2 to serve my rails app through passenger. First, I redirect all http traffic to https with the following: This is my web server apache conf file. ServerName sampleapp NameVirtualHost *:80 <VirtualHost *:80> Options FollowSymLinks RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
2010 Oct 27
2
passenger for both rails 2.3 and 3.0
Hi, I installed ruby 1.8.7 and passenger 3.0 for apache2 on Ubuntu 10.10. Rails 2.3 works fine. But Rails 3.0 gives an error saying that rack version is not 1.2.1. If I upgrade the rack to 1.2.1, then rails 2.3 app complains that the rack version is not ~>1.1.0. How do I satisfy both rails 2.3 and 3.0? Passenger standalone seems to be an option but I want to know if there''s a better
2010 Sep 21
3
Rails 3 deployment on Passenger
I''m trying to move up to Rails 3 and everything is going fine on my workstation where I have installed all of the necessary gems. The problem I''m having is getting it to run on the production server that I have to use where the app needs to be vendored. It''s on a Debian Squeeze box with ruby l.8.7, rubygems 1.3.6, librack-ruby1.9.1, passenger - 2.2.11debi and bundler
2010 Jun 06
3
running passenger + nginx
hi guys, Assuming I made some changes to the source code. My production environment runs on passenger and nginx. How do I restart passenger and nginx with minimal downtime? Surely I can''t do a "w" on the terminal because a server will not always be in zero load. Would love to hear some recommendations. PS- I have read on unicorn
2009 Dec 07
1
problem starting rails (hobo) app with passenger
Dear All! I''ve set up my apache, passenger and configs, the passenger works, but the app can''t be started. the erros are the following These are the possible causes: * There may be a syntax error in the application''s code. Please check for such errors and fix them. * A required library may not installed. Please install all libraries that this
2014 Mar 19
0
redis, pub/sub, rails 3, phusion passenger
I have another application publishing messages to redis server. Within my rails application, when a user clicks a button, I want a popup to display that shows live updates. I want the controller to publish notifications to redis, and I want my javascript to subscribe to those events and respond when it finds a suitable channel. What I do not know how to do is actually keep a control open like
2012 May 27
2
Setting Up A Rails App With Passenger
Been trying to get Passenger installed and setup to run a rails app. Everytime I goto eaa.mysite.com in Firefox the web browser goes out to the Internet instead of serving up the website. Why does this occur? Below is part of the configuration for apache2.conf: ======================================================= # Setup a virtual host for the rails apps to run in. <VirtualHost *:80>
2012 Jul 10
3
passenger not installing
C:\>gem install ''passenger'' ERROR: Error installing passenger: The ''fastthread'' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from ''http://rubyinstaller.org/downloads'' and follow the instructions at
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
Dear friends, I followed the guide on http://techoctave.com/c7/posts/16-how-to-host-a-rails-app-with-phusion-passenger-for-nginx and successfully deployed two apps on the same web server, some months ago. Then when I upgraded to Rails 2.3.13.rc1 everything seems to be OK, but when I visit my app with the browser all that I get is the Welcome page from Nginx. Here is my nginx.conf:
2011 Feb 10
3
ror 3 + apache2 + passenger = apache test page
I set up Passenger on manual - http://wiki.rubyonrails.org/deployment/apache-passenger Passenger 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 >>
2010 May 14
1
passenger and apache: worker or prefork
i''m going to install apache and passenger on a intel atom dual (dual core). is it better to install apache-worker or apache-prefork? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send
2010 Jun 16
2
passenger and apache mpm's
Hi! Is it safe to run phusion passenger with all apache kinds of MPM? regards -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi, I have a Rails 3.2 app. There is a specific request that takes a long time to execute. The context is, the user uploads a pdf, and then we have some processing through carrierwave + rmagick that generate a jpeg from the first page of the document. Everything works in dev mode using both webrick and thin. The problem happens on the prod environment with Nginx + Passenger. The request takes a
2012 Oct 23
0
AJAX truncated response on Phusion Passenger v3.0.17 on CentOS v6.x
Our application deployed on Phusion Passenger version 3.0.17 server on CentOS 6.x box makes a AJAX call which returns a large response ranging from 1MBs to 8 MBs. It works fine a lot of time but we have seen truncated response from the server inconsistently. Its breaks are different places for the same response and is not because of escape characters. The server doesn''t break or
2010 Nov 01
1
Encoding::UndefinedConversionError on a simple file upload (rvm, MRI-1.9.2-p0, rails 3.0.1, apache+passenger)
Hello everyone. I am having the encoding issue on a simple file upload action: Encoding::UndefinedConversionError in MainController#upload "\xC4" from ASCII-8BIT to UTF-8 The action looks like this: def upload @uploaded_io = params[:upload] File.open(Rails.root.join(''public'', ''images'', @uploaded_io.original_filename), ''w'')
2010 Oct 19
4
Problem while installing passenger for apache
Hi, I am trying to install passenger 3.0 for apache2 on Ubuntu 10.10. It says that I need to install libopenssl-ruby. But when I did ''sudo apt-get install libopenssl-ruby'', I got the following error. Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting ''libruby'' instead of
2013 Jun 14
1
Setting up a rails app in a relative path (using Apache and Passenger)
Hi, This seems like it should be a common problem, but I haven''t been able to google for the right terms, evidently... I''m trying to set up my rails app, not to the base domain name, but to a relative path. That is, the server already hosts an app at the domain, and I want to add a rails app. So, mydomain.com already exists and is a PHP app. I want mydomain.com/railsto point