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
0
votes
0 answers

Error Trying to use Rubber to deploy on EC2

i'm following the RailsCast #347 (http://railscasts.com/episodes/347-rubber-and-amazon-ec2) for deploying my app on Amazon EC2. Following all the steps, when i try to execute the command cap rubber:create_staging this error is showed to me…
Juan Fernandez Sosa
  • 570
  • 1
  • 5
  • 19
0
votes
1 answer

Can you style the rubber/bounce/elastic scroll area present above the header/below the footer in OS X/iOS browsers?

I've already searched a lot regarding this topic and it honestly seems impossible. Which is a bummer, since being able to add some small details/artistic touch to this bland area would definitely be very welcome. Unless I am mistaken and there is a…
0
votes
1 answer

Rubber stalling while executing `bundle:install'

A rubber deployment as per quick start instruction using the latest 3.1.0 version reaches the stage of fetching and installing the gems (the last one loaded is pg), for an m1.small instance. I see no mention of therubyracer in the scroll of…
Jerome
  • 5,583
  • 3
  • 33
  • 76
0
votes
1 answer

Rubber believes there is a missing rule when it has expressly identified it earlier

Launching cap rubber:create_staging starts to check the account's EC2 existing security groups. The first check is on the default group, which cannot be deleted from the AWS web-console. So the response to the following prompt is naturally 'N' *…
Jerome
  • 5,583
  • 3
  • 33
  • 76
0
votes
1 answer

Installing Rubber for proper Launch of instance creation

I am trying to launch an Amazon EC2 instance using Rubber. cap rubber:create_staging rubber-ruby.yml reflects a version in use ruby_build_version: 20141027 ruby_version: 1.9.3-p550 However upon cap rubber:create_staging capistrano immediately…
Jerome
  • 5,583
  • 3
  • 33
  • 76
0
votes
0 answers

Rubber Rails PG::ConnectionBad not connect to EC2

After update to rubber 3.1.0 and using postgres 9.3 on a 3.2.22 rails app i'm trying to deploy on Ec2 is showing this on the log: ** [out :: app01.foo.com] PG::ConnectionBad: FATAL: no pg_hba.conf entry for host "172.35.45.216", user "foo", database…
dcalixto
  • 411
  • 1
  • 9
  • 26
0
votes
0 answers

how to solve the error `expand_string': undefined method `reject' for nil:NilClass (NoMethodError) in rubber when deploying in Amazon EC2?

I am using "rubber" to deploy my project in "Amazon EC2". I am following the railscasts episode #347 Rubber and Amazon EC2. But when I am trying this command $cap rubber:create_staging It is asking for Hostname to use for staging instance…
0
votes
1 answer

Deploy JRuby on Rails to AWS EC2 with Rubber

I am trying to deploy a basic JRuby on Rails app to EC2 using Rubber. I am following this guide and the only difference is that I'm using JRuby. Is this possible? Can I use one of the provided templates (for example complete_passenger_postgresql)…
Kage
  • 765
  • 1
  • 8
  • 27
0
votes
1 answer

Perform Dougman't Method (Rubber Sheet Model) in Emgu CV

I've a problem with how to make rubber sheet model from circle in emgu cv , this is my code in c# : // looking for iris CircleF[] circles = cannyEdges.HoughCircles( cannyThreshold, …
0
votes
1 answer

rubber failing to complete

I've got rubber working and am using rubber vulcanize complete_unicorn_nginx_postgresql. Running cap rubber:create_staging fails after getting pretty far through the process. Here is the output of the failing portion: * executing "sudo -p 'sudo…
Godzilla74
  • 2,358
  • 1
  • 31
  • 67
0
votes
0 answers

Rubber + Google cloud as generic provider

I've setup and created (manually) instance at google cloud, added my ssh key (from id_rsa.pub) into it, so I can ssh username@x.x.x.x without any password, user set as sudoer. I've setup 'generic' provider in rubber.yml: generic: key_file:…
alexey_the_cat
  • 1,812
  • 19
  • 33
0
votes
2 answers

the task `rubber:' does not exist

I am following Ryan Bates rubber and amazon ec2 episode and when running the following command I get an error: $ cap rubber: create_staging triggering load callbacks * 2014-08-26 00:53:42 executing `rubber:init' the task `rubber:' does not exist I…
marimaf
  • 5,382
  • 3
  • 50
  • 68
0
votes
1 answer

Turning off local db backup with rubber, while still backing up to S3

I've uncommented the backup_bucket: line in rubber.yml, and now my db gets backed up both locally and to my S3 bucket. I would like to have my db only backing up to S3. Is there a way to disable local backup, while still keeping S3 backup?
Marina
  • 3,222
  • 5
  • 25
  • 35
0
votes
1 answer

Airbrake not catching errors for Sidekiq in Rails app on an environment other than development

I'm using Sidekiq and Airbrake in my Rails application. I would like Airbrake to catch any errors that occur during Sidekiq jobs. As per instructions I found online, I've added the following to sidekiq.rb: config.error_handlers << Proc.new {…
Marina
  • 3,222
  • 5
  • 25
  • 35
0
votes
0 answers

Safari very slow-- renders items outside the viewport when my rails app is deployed

I have a view that has a large table with about 700 rows. In Chrome, Firefox and Safari (when running in development on my local machine), the page takes 2-3 seconds to load. Recently I deployed the app via Rubber, first to a Vagrant VM on my…
chetstone
  • 650
  • 1
  • 9
  • 19