Displaying 17 results from an estimated 17 matches for "railsenv".
Did you mean:
rails_env
2009 Jun 05
17
passenger on localhost
I installed passenger at home. How should I configure apache to make it
usable?
This was my last guess:
<VirtualHost localhost:3121>
ServerName 127.0.0.1
DocumentRoot /var/www/html/docsearch/public
</VirtualHost>
This gets by "apachectl start" without complaint, but I really haven''t a
clue what I''m doing ;)
Do I need to access it via a different
2009 Mar 13
7
rails, passenger, and images
...he helpers.
I can access my all of my assets directly via http://dating.local/stylesheets/all.css,
for example.
I used passenger pref pane to render the vhost. It looks like:
<VirtualHost *:80>
ServerName dating.local
DocumentRoot "/Users/steveodom/Development/dating/public"
RailsEnv development
<directory "/Users/steveodom/Development/dating/public">
Order allow,deny
Allow from all
</directory>
ErrorLog "/Users/steveodom/Development/dating/log/apache.log"
</VirtualHost>
I''m not getting any errors in my development.l...
2009 Jul 20
1
CSS issue when using SubUri and Passenger
...config.action_controller.asset_host = "http://opticoaching.local"
I defined correctly the vhost (I have already odne it for another app
which is running well...)
<VirtualHost *:80>
ServerName opticoaching.local
DocumentRoot "/Users/yves/Sites/rails/opticoaching"
RailsEnv development
RailsDefaultUser yves
RailsBaseURI /elnino
<Directory /Users/yves/Sites/rails/opticoaching/elnino/public/ >
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
opticoaching.local is registered (as usual) in...
2011 Apr 20
2
Cannot get progress bars to work w/ Apache Progress Module
...nger_pane_vhosts/*.conf
in my passenger_pane_vhosts/file_upload_progress1.local.vhost.conf I have
this virtual host set up:
[code]
<VirtualHost *:80>
ServerName file_upload_progress1.local
DocumentRoot
"/Library/WebServer/Documents/ROR_tests/file_upload_progress1/public"
RailsEnv development
#RailsAllowModRewrite off
<directory
"/Library/WebServer/Documents/ROR_tests/file_upload_progress1/public">
Order allow,deny
Allow from all
# AllowOverride all
</directory>
# needed for tracking upload progess
<Location...
2009 Aug 04
2
Passenger, switching from development to production
It appears my http setup is working but I am getting an error when I try
to use a web browser to connect.
All I have done so far is to change the setting from what was working in
httpd.conf and move it to ssl.conf (adding some ssl things) and I am
using the same directory/set of files that was working for development.
The error...
Ruby on Rails application could not be started
Phusion Passenger
2012 May 27
2
Setting Up A Rails App With Passenger
...============================================
# Setup a virtual host for the rails apps to run in.
<VirtualHost *:80>
# ServerName www.myhost.com
ServerName eaa.mysite.com
DocumentRoot /var/rails-apps/eaa/public
#PassengerSpawnMethod conservative
RailsSpawnMethod smart
#RailsEnv production
RailsEnv development
#<Directory /var/rails-apps>
# Relax Apache security settings.
#AllowOverride all
# MultiViews must be turned off.
#Options -MultiViews
#</Directory>
=======================================================
Had...
2011 Feb 01
10
SSL problems with RoR, MySQL and Apace
...st one is RAILS_ENV: If I run ruby script/console it says that my
environment is development however if I run RAILS_ENV it says
production. I''m trying to find a way to permanently keep the
environment set to production either through the environment.rb or some
other method. I do have the RAILSENV production set in the VHost but it
seems as if that conflicts with the output of ruby script/console. If I
run export RAILS_ENV=production before running ruby script/console it
comes back in production mode up until I log of the shell and come back
in. Is there a way to permanently set the enviro...
2009 Nov 23
0
passenger 2.2.7 uses config.ru but starts in development environment
Hi.
Today i updated passenger to new 2.2.7 version and my app started to
work incorrectly, because it lauched in development environment.
I tried to set "RailsEnv production", "RackEnv production" at my
httpd.conf, but this dont work.
So, maybe somenthing wrong with my config.ru?
#!/usr/bin/env rackup -p3000
require "config/environment"
use Rails::Rack::LogTailer
use Rack::AssetPath # <- my own middleware
use Rails::Rack::Stati...
2010 Oct 05
0
Ruby with apache ActionController::RoutingError (No route matches "/"):
...uby/apps/rtest1/public /var/www/app
I have also reconfigured the owner of the /home/jonas/ruby/apps/rtest1/
public and /home/jonas/ruby/apps/rtest1/tmp to www:data.
this is my apache.conf file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
RailsEnv production
RailsBaseURI /app
<Directory /app>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Directory />
Opt...
2014 Jan 22
0
passenger apache2 setup with ipaddress
Hi,
Good evening!
Is that possible to point like below
<VirtualHost *:80>
ServerName *xxx.xxx.xx.x/mysite * #server ip address
DocumentRoot /path/to/projects/public
RailsEnv development
<Directory /path/to/projects/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
and Can I access *xxx.xxx.xx.x/mysite *in my browser? I tries this but its
doesn't work...
// hosts file
xxx.xxx.xx.x xxx.xxx.xx.x/mysite
is thi...
2012 May 03
6
Hosting application on private network.
Hi,
I have a Ruby on Rails application. I am able to run it in my local
system using Apache2 server. I would like to host my application so that
all the systems in the private network 192.168.3.0/24 should be able to
access the web-application. My system private-ip is 192.168.3.57.
Please help me what all configurations do I need to do.
Thank you
Ajit
--
Posted via
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
...Allow from all
AuthType Basic
AuthName Transmission
AuthUserFile /etc/apache2/users
# Require user me
</Proxy>
</Virtualhost>
In my app server i point my application which runs with passenger ,
apache in 8010 port
<VirtualHost *:8010>
RailsEnv development
DocumentRoot /home/appserver/sampleapp/public
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from none
Allow from all
</Directory>
ProxyPreserveHost on
RequestHeader set X_FORWARDED_PROTO "https"
Pro...
2011 Feb 10
3
ror 3 + apache2 + passenger = apache test page
.../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 logs/39pk.ru.log
>> </VirtualHost>
>> ...
rails_app/config/enviroment.rb:
>> require File.expand_path(''../application'', __FILE__)
>> Zak::Application.initialize!
>> Rails::Initial...
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 Jan 21
4
Redirect www to non-www
How to redirect www to non-www? e.g redirect www.example.com to
example.com
Thanks
Johnny
--
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
2010 Apr 24
5
About your application's environment URL not found
Hi
I am a newbie (which you probably guessed from the subject) and have
just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10.
I have created a rails app and edited my apache config as shown below.
The Rails "Welcome aboard" page displays, but when I click on "About
your application''s environment" I get
"Not Found
The requested URL
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