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
2
votes
1 answer

cap rubber:create_staging failed near end

I am trying to deploy to AWS the sample Rubber test in the Quick Start wiki https://github.com/rubber/rubber/wiki/Quick-Start I get past the part where it prompts for my local machine password to write to the hosts file ( it creates roles, the…
Mark
  • 89
  • 10
2
votes
0 answers

Deploying Rails to EC2 with Rubber - "Failed to connect to , retrying"

I'm currently on Windows 8, attempting to deploy my Rails app to Amazon EC2 with Rubber following the Railscast #347 Rubber and Amazon EC2. However, when trying to run cap rubber:create_staging, I get the following error when Rubber attempts to…
2
votes
0 answers

ImportError: No module named psycopg2.extensions when rubber gem

I get this error when i call cap rubber:create_staging Im using a Ubuntu machine. so far i have been mainly focusing on making changes to local_settings.py but did not get anywhere with that. Here is what i get when I ran pip freeze: …
John Kraszewski
  • 117
  • 2
  • 2
  • 10
2
votes
1 answer

Rails deploy to ec2 with Rubber: mod_passenger.so: cannot open shared object file

After watch the Railscast "#347 Rubber and Amazon EC2", I'm trying to deploy a Rails app to Amazon ec2, after solve some previous problems, I'm stuck at this error: * 2014-01-19 10:14:04 executing `rubber:apache:start' * executing "sudo -p 'sudo…
DoctorRu
  • 1,063
  • 1
  • 13
  • 15
2
votes
1 answer

Rubbe ec2r : Unable to connect with ssh

I followed the railscasts and with basic configurations such as image_id: ami-3f32ac3e (Ubuntu Server 12.04.3 LTS 64 bit), app_name: myapp, app_user: jashwant , I tried to deploy with rubber. Everything went smooth. I now have a running instance,…
Jashwant
  • 28,410
  • 16
  • 70
  • 105
2
votes
1 answer

Can't SSH into EC2 instance created with Rubber

I suppose the title is not entirely accurate. I am able to login to an instance, but I do not see my application in any of the directories. My sense is that I am ssh'ing into the wrong directory. Does anyone have any experience with this? …
2
votes
0 answers

Capistrano rand Rubber : Deploy EC2 fails. (Ruby on Rails)

I followed this railscast to deploy my Rails application: http://railscasts.com/episodes/347-rubber-and-amazon-ec2?view=asciicast Something is wrong for me, because after running the command: cap rubber: create_staging and follow all the…
CristianOrellanaBak
  • 447
  • 1
  • 5
  • 13
2
votes
3 answers

error while deploying rails app to ec2 using rubber gem `response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest)

when I do cap rubber:create_staging, I am getting the following error when rubber tries to create ec2 instance. Am I missing any configuration setting? ** Creating instance…
Shyam Visamsetty
  • 444
  • 2
  • 6
  • 16
1
vote
0 answers

Deploying rails app to Amazon Ec2 instance using rubber(free-tier)

I am trying to upload my rails app to free-tier ec2 instance using rubber gem. Using railcast video and following this tutorial https://liggat.org/a-full-AWS-rails-stack-provision-and-deployment-with-the-rubber-gem/ Using cap rubber:create, I am…
1
vote
1 answer

usb rubber ducky special characters

Is there a way to let your usb rubber ducky know to type special characters like "ü, ö, ä or ß"? Because when I try to compile a rubber ducky script like for example: REM My Rubber Ducky Script STRING ß Then the compiler will give me an error
samnite307
  • 11
  • 3
1
vote
1 answer

Downgrade rails gem with Rubber

I have a rails gem that I need to downgrade to an older version due to an issue with the newer version: aws-sdk I've updated my local Gemfile and pushed to my git server to: gem 'aws-sdk', '< 2.0' Now, I need to get my production server updated with…
Godzilla74
  • 2,358
  • 1
  • 31
  • 67
1
vote
0 answers

Capistrano undefined local variable or method and Argument Error

Trying to run cap deploy:check I get this error: (Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing on host #: undefined local variable or method `rubber_env'…
Senju
  • 1,035
  • 10
  • 25
1
vote
0 answers

Deploy to EC2 with Rubber

I have been having issues trying to deploy with rubber in the Terminal rubber vulcanize complete_passenger_postgresql and in my rubber.yml # REQUIRED: The name of your application app_name: app-name # REQUIRED: The system user to run your app…
casekey
  • 101
  • 10
1
vote
1 answer

`block (2 levels) in package_helper': undefined method `join' for nil:NilClass

I'm trying to host my first app using ec2 and rubber. While running cap rubber:create_staging I got this error: rubber/recipes/rubber/setup.rb:635:in `block (2 levels) in package_helper': undefined method `join' for nil:NilClass (NoMethodError) The…
MCB
  • 2,021
  • 1
  • 18
  • 32
1
vote
0 answers

Local rails server don't work in production mode without deploy after rubber/capistrano

After install and configure Capistrano/rubber I can't run again my local rails server in production mode. I got this error: Unexpected error while processing request: getaddrinfo: Name or service not known …
DoctorRu
  • 1,063
  • 1
  • 13
  • 15