Questions tagged [rubber]

rubber is a plugin that enables relatively complex multi-instance deployments of RubyOnRails applications to Amazon’s Elastic Compute Cloud (EC2).

Definition:

Rubber is a plugin that enables relatively complex multi-instance deployments of Ruby on Rails applications to Amazon's Elastic Compute Cloud (EC2).

Rubber is role based, so you can define a set of configuration files for a role and then assign that role to as many concrete instances as needed. One can also assign multiple roles to a single instance. This lets one start out with a single EC2 instance (belonging to all roles), and add new instances into the mix as needed to scale specific facets of your deployment, e.g. adding in instances that serve only as an “app” role to handle increased app server load.

Important Links:

Related Tags:

93 questions
12
votes
0 answers

Deploy with Rubber to Amazon VPC

I currently use rubber to deploy (create instances, deploy code, run migrations, etc) to EC2 and everything works great. I need to move my servers to Amazon's VPC to open a VPN connection to my web servers and also to keep the databases on the…
9
votes
2 answers

nginx: [emerg] invalid number of arguments in "passenger_root" directive

I'm trying to set up for the first time with Rubber onto EC2 (complete_passenger_nginx_postgresql). I changed a bunch of settings in the config files to make it work with a different AMI (Ubuntu 12.04.3 LTS - ami-a73264ce (64-bit)), Ruby 2.1.0,…
Ben
  • 2,957
  • 2
  • 27
  • 55
6
votes
0 answers

Setting Environment variables with Rubber/Capistrano

I need to set some environment variables programmatically before my rubber instances start the webserver. I've set the environment variables in the config/rubber/common/rubber.profile file. When I ssh into the instance, the Env variables are set…
Paul
  • 2,021
  • 5
  • 22
  • 33
6
votes
2 answers

rubber - SecurityGroupLimitExceeded exceeded the number of VPC

I was following railscasts to use rubber to deploy my rails app to ec2. I got the following problem: $ cap rubber:create_staging ..... (omit successful…
Brian
  • 30,156
  • 15
  • 86
  • 87
4
votes
1 answer

EC2: "Groups belonging to other users may not be granted permissions to VPC security groups."

I am deploying to EC2 using rubber (following Railscast #347). I have just run "cap rubber:create_staging" and am getting this error: "Groups belonging to other users may not be granted permissions to VPC security…
mikewilliamson
  • 24,303
  • 17
  • 59
  • 90
3
votes
2 answers

Rubber : Unmet Dependencies for libapache2-mod-passenger

When I try to deploy with rubber, I receive the following error : The following packages have unmet dependencies: ** [out :: staging.xxx.com] ** [out :: staging.xxx.com] libapache2-mod-passenger : Depends: passenger (= 1:5.0.8-1~trusty1) but it…
Michael Victor
  • 861
  • 2
  • 18
  • 42
3
votes
1 answer

QRubberBand, how to draw on it

I'm trying to draw numbers on QRubberBand object. I have class widget with QRubberBand object rectangleRubberBand; I can show this area etc, but I'm trying to draw on area not on the widget some numbers, for example width and height of this area.…
Shepherd
  • 33
  • 1
  • 5
3
votes
1 answer

Timeout::Error: execution expired with Capistrano/Rubber

We have been using the rubber gem to deploy to AWS for months and we are now suddenly getting a Timeout::Error: execution expired error with Capistrano. I've tried downgrading net-ssh to 2.7 and that didn't help. I believe the old net-ssh 2.8 has…
Oakland510
  • 1,073
  • 2
  • 12
  • 20
3
votes
4 answers

Deploying with Rubber: 'libapache2-mod-passenger' was not found

I am following Ryan Bates's Rails Cast to deploy a Rails app to EC2 with Rubber. Everything seems to go well until this error. How can I fix this? ** [out :: production.foo.com] Ign https://oss-binaries.phusionpassenger.com precise/main…
marimaf
  • 5,382
  • 3
  • 50
  • 68
3
votes
1 answer

rubber ec2 deployment Duplicate Default security groups

I am getting this error when i run the command: cap rubber:create_staging response_call': Duplicate => the specified rule \"peer: sg-86b557e9, TCP, from port: 1, to port: 65535, ALLOW\" already exists (Fog::Compute::AWS::Error) from…
Amit Badheka
  • 2,677
  • 4
  • 19
  • 29
3
votes
1 answer

deploying rails app with rubber to AWS - nil:NilClass error

I'm trying to use rubber to deploy to my AWS EC2 for the first time. For testing im just using a t1.micro right now. I get a weird error with rubber after having edited rubber.yml after tcap rubber:create_staging This is the…
mgreschke
  • 189
  • 10
3
votes
2 answers

First time using Rubber to deploy Rails app on Amazon EC2

I am planning on using Rubber to deploy a Rails app on Amazon EC2. Do I need to install Ruby, Rails, Postgres, Nginx and Unicorn on the EC2 server before running Rubber? Or does Rubber do all of these installations on EC2? Please advise. Thanks.
Kidada
  • 215
  • 1
  • 12
3
votes
1 answer

Rubber and Amazon EC2 hosting issue (Net::SSH::AuthenticationFailed: root)

I want to host my ruby on rails application on Amazon EC2 server. I am following Rubber and Amazon EC2 railcast on Ubuntu. When I execute cap rubber:create_staging command, its showing error something like this -- * 2013-06-19 17:00:53 executing…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
2
votes
1 answer

(Passenger Agent) Signal received. Gracefully shutting down

I have a rails application that I am deploying on an aws ec2 instance, this is my first time using the Rubber Gem, for which I have followed this tutorial. After removing the default nginx configurations and after intial deployment (step 5 of the…
Zaeem Asif
  • 21
  • 1
  • 4
2
votes
2 answers

Carrierwave uploaded Images aren't persistent after Capistrano deploy

I've just noticed that after I redeploy my rails app to production with cap deploy:migrations any image that I've uploaded via my admin forms (such as creating a testimonial with an avatar image) that the image links are now broken. The images…
Godzilla74
  • 2,358
  • 1
  • 31
  • 67
1
2 3 4 5 6 7