migueldiaz / quartiersRedise-o

2 stars 0 forks source link

probando gandi #95

Closed tangrammer closed 12 years ago

tangrammer commented 12 years ago

http://stuffingabout.blogspot.com/2011/04/installing-rails-3-on-ubuntu-1104.html?showComment=1317114549598#c5389919033653717272

http://www.modrails.com/install.html

Deploying a Ruby on Rails application: an example

Suppose you have a Ruby on Rails application in /somewhere. Add a server block to your Nginx configuration file, set its root to /somewhere/public, and set 'passenger_enabled on', like this:

server { listen 80; server_name www.yourhost.com; root /somewhere/public; # <--- be sure to point to 'public'! passenger_enabled on; }

And that's it! You may also want to check the Users Guide for security and optimization tips and other useful information:

/usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/doc/Users guide Nginx.html

Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-) http://www.modrails.com/

tangrammer commented 12 years ago

http://iloo.wordpress.com/2011/08/11/ruby-on-rails-could-not-find-a-javascript-runtime/

could not find javascript runtime ... editar Gemfile gem 'execjs' gem 'therubyracer' bundle install

tangrammer commented 12 years ago

NO ME LO PUEDO CREER rails s -p 80 http://92.243.12.18/ FUNCIONA

migueldiaz commented 12 years ago

Cierro esto, recordar que al final era un chmod 755 a la carpeta /home/enjava para que passenger tirara