The updates described are either important (where you need to take action) or of interest (you might want to know about these changes but you don’t need to do anything).
Major: Ruby 1.9.3 is available with Alpha support
October 31st, 2011
Ruby 1.9.3.p0 is available in Engine Yard Cloud with Alpha support.
This is the first stable release of Ruby 1.9.3.
Ruby 1.9.3 offers faster loading times for Rails 3.x applications. For more information about this release, see Ruby 1.9.3 p0 is released.
Minor: vi is now the default editor
October 31st, 2011
vi now replaces GNU nano as the default editor on Engine Yard instances.
Minor: JRuby upgrade
October 28th, 2011
Upgraded JRuby to 1.6.5 from 1.6.4. This upgrades RubyGems to 1.8.9 from 1.5.1.
Minor: Security update
October 28th, 2011
Nginx SSL ciphers now configured to protect against the BEAST SSL attack.
Fix: An issue with the Apply button
October 27th, 2011
Fixed an issue where, on rare occasions, clicking the Apply button to apply changes to the environment removed the application.
Fix: Two database-related issues
October 26th, 2011
-
Fixed an issue with PostgreSQL 9.0 Alpha backups. (In some cases, database slaves were not getting backed up.)
-
Fixed an issue where a MySQL slave server could not be added to a cluster if the master database had master.info or relay-log.info files on it.
Fix: ZSH installation
October 26th, 2011
ZSH is now installed.
Minor: Assorted improvements and fixes to the Engine Yard Stack
October 22nd, 2011
- /engineyard/bin/resque updated to fix a regression in which the Resque workers could run as root.
- GNU Wget upgraded to 1.12-r3 to address Gentoo Bug 329941 / Common Vulnerability Exposure: CVE–2010–2252.
- sshd is now configured with a “Pluggable Authentication Model”. This allows more processes by default.
- Unicorn now uses “Signal –6” to ensure that log files are flushed.
Minor: No more tabs on the Environment page
October 18th, 2011
Fewer clicks to access the Environment tools and information: The tabs on the Environment page have been permanently expanded.
Minor: Warnings about missing database adapters or Gemfile.lock appear in the Dashboard
October 18th, 2011
Missing database-adapter gems (such as the mysql2 gem) or a missing Gemfile.lock can stop your application from deploying.
If your application is missing a database-adapter gem or the Gemfile.lock, you now see a warning message on the Environment page of the Dashboard (in addition to the deployment log).
For information about installing the mysql2 gem, see 500 errors after deploying.
Fix: passenger_monitor
October 14th, 2011
Updated passenger_monitor to correctly handle the -l (memory limit) parameter.
Fix: PostgreSQL database backup
October 13th, 2011
If there are two or more PostgreSQL database slaves, backups of the database are now always made from the first database slave.
Minor: Unicorn changes
October 13th, 2011
- Upgraded Unicorn to 4.1.1.
- In Unicorn, increased the timeout from 60 seconds to 180 seconds. Best practice is to consider this timeout as a line of last defense; see Application Timeouts.
Minor: Ruby installation order in deployment
October 13th, 2011
Ruby and gems are now installed after the ssh keys in the deploy user.
Minor: Customizing Nginx configuration
October 13, 2011
To facilitate Nginx configuration, Nginx now reads /data/nginx/http-custom.conf before any server files are sourced.
Minor: Backups include stored procedures.
October 13, 2011
Backups now include any stored procedures.
Major: Engine Yard Cloud supports Rails 3.1
October 12th, 2011
Engine Yard Cloud now supports Rails 3.1.
When creating a Rails 3.1 application in the Dashboard, set Application Type to Rails 3. Rails 3.0 or Rails 3.1 is used as appropriate for your code.
The asset pipeline is a major feature of Rails 3.1. It is enabled by default: Engine Yard Cloud runs the precompile tasks as needed during deployment.
Note: Currently, HTTP Streaming response in Rails 3.1 is only available with Unicorn.
Migrating an application from Rails 3.0 to Rails 3.1
To migrate your current Rails 3.0 application to Rails 3.1, follow this process:
- Upgrade your local environment to Rails 3.1.
- Edit your application to run locally on the Rails 3.1 framework.
- Push your application changes to the git repository for your application.
- Redeploy your application in an Engine Yard staging environment.
- After testing in the staging environment, redeploy your application in your production environment.
Note: If you are using ey deploy from the CLI to deploy your Rails 3.1 application, make sure that you have installed the latest engineyard gem.
New deploy hooks
However, if you have special asset-compilation needs, you can edit the assets:precompile rake task or use the new deploy hooks, ‘before_compile_assets.rb’ and ‘after_compile_assets.rb’. (For general information about deploy hooks, see Use deploy hooks.)
The last_assets directory for zero downtime deployments
To prevent 404 errors in zero downtime (Unicorn) deployments, there are two directories for assets in the application’s shared directory:
-
The
assets
directory contains the assets for the current release of the application. This directory is re-created between the ‘before_compile_assets’ and ‘after_compile_assets’ deploy hooks. -
The
last_assets
directory contains the assets from the previous release. During a zero downtime deployment, assets are served from this directory.
Special thanks to one of our customers for suggesting this dual directory solution for zero downtime deployments.
More information
For additional information about the asset pipeline, see Rails 3.1 asset pipeline tips.
Action Required: Bundler 0.9 deprecated
October 10th, 2011
Bundler 0.9 is no longer supported on Engine Yard Cloud.
Please update your version of Bundler to 1.0 or later.
Applications that use Bundler 0.9 will continue to run but cannot be re-deployed after Bundler 0.9 is deprecated.
Comments
Article is closed for comments.