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
1
vote
0 answers

Starting SideKiq with Rubber

We followed following steps that we found online to setup Rails env on EC2 using Rubber. The Rails server and Monit are working well however sidekiq workers are not getting switched on. Can someone please assist? Thank you in advance. === What we…
Pykih
  • 2,769
  • 3
  • 29
  • 38
1
vote
1 answer

Rubber with separate instance for Sidekiq in production

I want to have a separate instance for running Sidekiq in my production environment. Currently I have db, web and app instances and the app instance is taking care of sidekiq which is proving to be a wrong move. I created a new instance with roles…
Steve Robinson
  • 3,759
  • 3
  • 36
  • 57
1
vote
1 answer

An error occurred while installing nokogiri (1.6.1)

When I run cap deploy, it stops by saying this: ubuntu@web01b:~$ sudo gem install nokogiri -v '1.6.1' Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. …
1
vote
1 answer

Rubber Deployment: complete_passenger_mysql setup cannot connect to AWS instance

I was following the railcast tutorial, attempting to test out deployment with Rubber. Managed to survive from the Duplicated rules error, creating instance error, etc but I was finally stopped by the infinite connection loop: ** Instance running,…
Quin
  • 513
  • 5
  • 20
1
vote
1 answer

Dry-Run Rubber (simulation)

I would like to use Rubber for an app i'm making. Is there any way to do a dry-run of the same without actually creating instances on ec2?
Prashanth
  • 347
  • 3
  • 4
  • 12
1
vote
1 answer

Rails rubber deployment on existing EC2 instance

I usually use rubber gem to deploy to Amazon EC2. However, now I want to deploy to an existing EC2 instance which is already running. I could not find any reference on internet. All that I could find uses cap rubber:create_staging or cap…
Tony
  • 10,088
  • 20
  • 85
  • 139
1
vote
1 answer

Capistrano Rubber Phusion Passenger Enterprise Config

I am having a little trouble editing the Capistrano Rubber recipes to include the Phusion Passenger Enterprise edition instead of the open-source module. The problem starts with the fact that the enterprise version of passenger is not available for…
Bnjmn
  • 1,973
  • 1
  • 20
  • 34
1
vote
2 answers

Rails Rubber EC2 Amazon AWS Railscast

Hi I have successfully deployed my app to amazon aws using this railscast http://railscasts.com/episodes/347-rubber-and-amazon-ec2 my app shows up here on this url http://web01.foo.com/ on my local machine only. I am slightly confused, if I deployed…
Jngai1297
  • 2,415
  • 5
  • 29
  • 63
1
vote
0 answers

How to deploy multiple app servers from different branches

I have a RoR app running on 2 app/web servers using nginx/unicorn. The site is deployed using Rubber from the "master" branch of our repo. Life is good! Some of the new customers we are working with require their data and files to be kept on…
1
vote
1 answer

Cannot deploy to AWS EC2 with Rubber

I am following this Railscast, but when I run rails g vulcanize complete_passenger_mysql I get Could not find generator vulcanize. I also found this thread on SO, but again, without any success. The version of installed rubber is 2.2.4, ruby ruby…
user984621
  • 46,344
  • 73
  • 224
  • 412
1
vote
1 answer

I am making a working backup of a ruby site and have no idea how to deploy it

The main "It works" index.html file shows. I don't know what else I need to do. I copied the entire code-base and db and put up a new subdomain. It's MySQL and ruby-on-rails with rubber(wr0ngway) and capistrano. What I have done: Set up a new…
gooddadmike
  • 2,329
  • 4
  • 26
  • 48
1
vote
1 answer

Mongo::ConnectionFailure when deploying Rails App to EC2 during create_staging

I'm trying to deploy my first app to amazon ec2 using Rubber. I've tried several times and each time the process errors out with Mongo::Connection Failure. I've tried several different instance types from several tiers but am still getting the same…
1
vote
1 answer

Rubber ec2 deployment issue during create_staging step .. how to continue?

I'm using Rubber gem to deploy my first rails app to an ec2 server. I had a problem during the bundle install step when I called the 'cap rubber:create_staging' to establish my first server instance. My instance was created already so I logged in…
0
votes
1 answer

Rubber Band (Implement in Unity 2D)

I'm trying to make a rubber band in Unity and I don't get out. I found this example but it's done in Actionscript Flash https://www.deviantart.com/willmh93/art/Ball-Elastic-142211333..... and I can't even convert the code to javaScript or C#. I…
Djpokker
  • 11
  • 7
0
votes
1 answer

Bitbucket pipeline: bash: cap: command not found

I am using rubber to deploy my Symfony project to Digital Ocean. The project is hosted on bitbucket. This is my Capfile. require 'capistrano/setup' require 'capistrano/deploy' require 'capistrano/symfony' require 'capistrano/scm/git' install_plugin…
vhurryharry
  • 1,875
  • 1
  • 10
  • 28