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

Override capistrano deploy:assets:precompile command in rubber

I am making use of rubber for deploying to an amazon ec2 server. I want to override the deploy:assets:precompile task to make it compile locally. I am adding the task in the deploy.rb file but it doesn't seem to be using that. Here is the gist for…
bpn
  • 3,082
  • 2
  • 19
  • 22
0
votes
0 answers

Time/pitchshift in c

I'm fairly new to C. As part of a Uni project, I'm required to put together a programme that processes audio in some form. So, I've decided to make a pitch shifter. So far, I've managed to at least make the program process the audiofile, if not…
0
votes
1 answer

Deploying to EC2 using Rubber on Windows

I'm trying to deploy my Rails app to an Amazon EC2 instance but keeping getting the same error. Trying to enable root login c:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rubber-2.8.0/lib/rubber/recipes/rubber/setup.rb:173:in `read': No such…
Justin
  • 4,922
  • 2
  • 27
  • 69
0
votes
1 answer

Rails Rubber deployment timeout

I am trying to deploy an Amazon EC2 instance using rubber. On running cap rubber:create_staging I get the following timeout: * 2014-04-06 20:14:09 executing `rubber:postgresql:setup_apt_sources' servers: ["production.foo.com"] ** sftp upload…
user1742188
  • 4,563
  • 8
  • 35
  • 60
0
votes
1 answer

Setting EC2 instance root device type to EBS in Rubber - Rails

How do I set the root_device_type when creating an EC2 instance using Rubber? I see that after creation of the instance, the serialized instance object has root_device_type as instance-store. I want to create an instance runs in an EBS. They provide…
Steve Robinson
  • 3,759
  • 3
  • 36
  • 57
0
votes
1 answer

Rubber installed but isn't usable?

I think there's something wrong with my setup. I am trying to install Rubber following this guide: https://github.com/rubber/rubber/wiki/Quick-Start It appears that I installed rubber correctly... $ sudo gem install rubber $ Successfully installed…
Evan Pu
  • 2,099
  • 5
  • 21
  • 36
0
votes
2 answers

Rails/Rubber can't create staging

Trying to get started with a Rails Amazon EC2 deployment using https://github.com/rubber/rubber, and I keep ending up here after attempting to create a staging server with cap rubber:create_staging: ** [out :: production.foo.com] curl: (7) couldn't…
Tyler
  • 829
  • 11
  • 26
0
votes
1 answer

rubber fails in 'deploy:update_code'

Trying to deploy a simple rails to staging on ec2 with rubber. Process fails with following error. Have been trying for days to find a solution but can't figure it out. Anyone know why it fails? * 2014-03-05 15:20:13 executing `deploy:setup' *…
Mike
  • 89
  • 1
  • 10
0
votes
1 answer

application.js file showing up as application.html.erb when sent to client

After running a cap deploy, I'm getting an error when navigating to my site on the client: Uncaught SyntaxError: Unexpected token '<' application-[hash here].js line 1 When I look at the file "application.js" on the client, it simply shows me a…
Peter Berg
  • 6,006
  • 8
  • 37
  • 51
0
votes
1 answer

Rubber: How to upload just some html.erb files into a running instance on Amazon aws ec2

Finally I managed to deploy the application in Amazon ec2, it's running ok, but now I just need to upload some new html.erb files, how I can do that?
DoctorRu
  • 1,063
  • 1
  • 13
  • 15
0
votes
1 answer

cannot find cap command when using Rubber with Vagrant

I want to test out a cluster built with Rubber using Vagrant. I followed the instructions on the Rubber Wiki but when I run vagrant up staging I get the following error: [staging] -- /vagrant [staging] Running provisioner: rubber... bundler: command…
adivasile
  • 2,377
  • 3
  • 24
  • 32
0
votes
1 answer

Rubber not starting rails server

I used complete_passenger_mysql recipe and successfully deployed the app. Last command I saw was, '* 2013-11-10 03:36:59 executingcleanup''`, and then it automatically ended the session, without any error. So, I guess, deployment was…
Jashwant
  • 28,410
  • 16
  • 70
  • 105
0
votes
1 answer

Finding out Postgresql credential on EC2 deployed with Rubber

I deployed a Rails app using Rubber to EC2. I am just using the default postgresql config. https://github.com/rubber/rubber/blob/master/templates/postgresql/config/rubber/rubber-postgresql.yml Does anyone know what the default credentials are?
Jason Kim
  • 18,102
  • 13
  • 66
  • 105
0
votes
0 answers

Run rails console on application deployed to EC2 with rubber

I am attempting to debug my rails application which is currently deployed to EC2 with the Rubber gem. I've attempted to ssh in to my instance, but it does not seem to take me to the directory of a rails project. Thus, I am unable to run rail…
0
votes
1 answer

Error using rubber to do deeply of rails app on Amazon ec2

Any ideas why I am getting the errors below when using rubber to deploy my app to amazon ec2 /Users/arthurt/.rvm/gems/ruby-2.0.0-p247/gems/excon-0.25.3/lib/excon/middlewares/expects.rb:6:in `response_call': The security group…
Kidada
  • 215
  • 1
  • 12