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

Tinymce custom plugin assets not available for rails 3 app in production

I have added a tinymce custom plugin in app/assets/tinymce/plugins/imagegallery/plugin.js and other related files in app/assets/tinymce/plugins/imagegallery/ It works fine in development on local machine. But, in production I get 404 NOT FOUND…
Shyam Visamsetty
  • 444
  • 2
  • 6
  • 16
0
votes
1 answer

switching to rake db:schema:load with Rubber.

I've searched all over the internet and through the deploy files that come with Rubber, but can't figure out how to do this. When I try to deploy to EC2, the script fails when it tries to run rake db:migrate. I know it would not fail if it tried to…
Arel
  • 3,888
  • 6
  • 37
  • 91
0
votes
1 answer

Production mode is not running on port 80 (Rails)

I don't understand why it's not running on port 80 instead of port 3000 when I run the command RAILS_ENV=production rails s on the same line. I want it to run in production mode but it's not running on the correct port. Anyone know why? I'm trying…
Petesta
  • 1,623
  • 3
  • 19
  • 29
0
votes
1 answer

mkdir -p Missing Operand when running rubber:config

I am getting following error while running cap rubber:config. Hope someone can give me directions. Here is the command I am running: bundle exec rubber "config" As you can see, it is complaining about missing operand for the 'mkdir -p' command at…
Jason Ching
  • 1,991
  • 1
  • 19
  • 23
0
votes
1 answer

ruby: no such file to load -- ubygems (LoadError) when running cap rubber:create_staging

I am trying to launch an Amazon EC2 instance following the instructions of Railscast #347 Rubber and Amazon EC2. The Rails project is configured as follows. The .ruby-version file: ruby-1.9.3 Here is the Gemfile: source 'http://rubygems.org' ruby…
JJD
  • 50,076
  • 60
  • 203
  • 339
0
votes
1 answer

How can I configure rails to not use 'www' for my website?

I am not sure where this setting is. Currently my site redirects every non-www URL to www. I am using the Rubber gem to deploy to AWS which in turn uses Passenger, and I've seen some posts which suggest the configuration for this lies with…
William
  • 1,295
  • 1
  • 10
  • 19
0
votes
2 answers

Unable to find group (Fog::Compute::AWS::NotFound)

Amazon ec2 with rubber deploy error. When i run create staging I got following error. /usr/local/rvm/gems/ruby-1.9.3-p392/gems/excon-0.23.0/lib/excon/middlewares/expects.rb:10:in response_call': Unable to find group…
user2473975
0
votes
1 answer

WPF: rubber multipath controls interface

I have a card component with (see below). And this component has a some paths inside and Canvas. But they have not rubber (when you place it into the Silverlight page). How to do it rubber if possibly ? The sample of queen of heart you can find…
alerya
  • 3,125
  • 3
  • 28
  • 50
0
votes
1 answer

Amazon EC2 timeout after 30 seconds

I deployed a RoR3 application on Amazon EC2 using Rubber. I have a slow request that takes about 1 minute, but it dies after 30 seconds with the error: 504 Gateway Time-out The server didn't respond in time. Does anyone know how to increase the…
Tony
  • 10,088
  • 20
  • 85
  • 139
0
votes
1 answer

How do you set pool size in production using rails and rubber gem?

I am using rails 3.2 and postgres 9.1. I'm hosting on Amazon EC2 instance, and using capistrano and rubber to deploy. So my question is, since I don't set database options in database.yml for production, how do I increase the pool size from the…
n_i_c_k
  • 1,504
  • 10
  • 18
0
votes
1 answer

Haproxy + Nginx + Unicorn - Not serving static assets with SSL

I was trying to make my Rails website serve all the web-pages and assets with both, http or https, but what happens is that when I enter in https mode it is being redirected to http and the assets are never served with as https protocol. My nginx…
felipeclopes
  • 4,010
  • 2
  • 25
  • 35
0
votes
1 answer

NoMethodError on Rails Vulcanize with Rubber

I am very new to rails and am trying to get my app setup via rubber. I was able to get a test app up without issue but am running into some sort of error when actually trying to vulcanize my built app. Tried to search high and low to no avail.…
Mark Hayden
  • 515
  • 4
  • 13
0
votes
1 answer

RAILS_ENV=staging cap deploy fails on rake precompile assets Randomly

I'm having issues deploying my rails app to a t1.micro instance on Amazon EC2. I asked the question: RAILS_ENV=staging cap deploy fails on rake precompile assets After I added the recommended code to my application.rb file, my first deploy was…
0
votes
2 answers

RAILS_ENV=staging cap deploy fails on rake precompile assets

I set up a t1.micro instance on AWS. I was able to successfully run: RAILS_ENV=staging rubber:create_staging to create the server, deploy the code, and run the app. I made some changes to the code and want to deploy to my staging server but when I…
0
votes
2 answers

trying to deploy to amazon ec2 following railscast tutorial

I have been following this railscast tutorial and I am pretty sure I followed all the steps correctly but when I go to run cap rubber:create_staging I get the following error. Not sure where to even start to debug this. The key pair 'gsg-keypair'…
Cool Guy Yo
  • 5,910
  • 14
  • 59
  • 89