Previously, I ran apt-get install rails, but that only installed rails 2, so I subsequently ran gem install rails. The output of that command clearly references rails 3, not 2:
Fetching: railties-3.2.9.gem (100%)
Fetching: bundler-1.2.3.gem (100%)
Fetching: rails-3.2.9.gem (100%)
# ...
...but rails -v outputs Rails 2.3.14. Gah! I can't run my rails local server!
Does anyone have any work arounds for config.force_ssl = true not working on a Rails app in Elastic Beanstalk?
I think it does not work because the passenger server is only configured with a port 80 listener and the load balancer is sending all port 443 requests to port 80 on the app server.
I'm using Passenger + Nginx to run a Rails app. If i use "rails_env development;" the application works fine.
I have a rails app that is set on a single server currently. On production, I force_ssl for everything. I am interested in using a caching server for images (I'm fine with css and js being served from origin for time being). Would nginx or varnish (which I have no experience with) be a better solution (for October 2012)?
I am extremely new to this so please don't shoot me down:
I have set up a Linode running Ubuntu, It is all sort of working except Nginx.
I am following this guide:
http://rubysource.com/deploying-a-rails-application/
And this for nginx:
http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid
When I go to my IP, I get a 500 internal server error.
I have tried starting nginx
Using paperclip (3.2.0)
Using polyamorous (0.5.0)
Using pr_geohash (1.0.0)
Using slop (3.3.3)
Using pry (0.9.10)
Using pry-rails (0.2.2)
Gem::RemoteFetcher::FetchError: too many connection resets (http://tokyo-m.rubygems.org/gems/rails-boilerplate-0.1.9.gem)
An error occurred while installing rails-boilerplate (0.1.9), and Bundler cannot continue.
Make sure that gem install rails-boile
I'm inside of the terminal right now and just about to make a new application.
I started using Terminator, the teminal emulator, but when I run a rails application it can't find Rails.
humberto@asterix:~$ rails -v
The program 'rails' can be found in the following packages:
* rails
* ruby-railties-3.2
Try: sudo apt-get install <selected package>
Does anyone knows how to solve it?
I am trying to install Ruby on Rails and I have followed the following link for the install
https://www.digitalocean.com/community/articles/how-to-install-ruby-on-r....