In the upcoming weeks we’re updating the versions of the Ruby and Node.js boxes. This post will detail the changes. We’ll also show you how you can set the version of a box.
Upcoming changes in the Node.js boxes
Wercker currently has 3 official Node.js boxes: wercker/ubuntu12.04-nodejs0.8, wercker/ubuntu12.04-nodejs0.10 and wercker/nodejs.
wercker/nodejs simply inherits from
wercker/ubuntu12.04-nodejs0.8 box. The other two boxes contain the latest incarnation of Node.js for their specific version. In the coming two weeks we’re going to change some things.
This week we’re going to upgrade the Node.js version in
wercker/ubuntu12.04-nodejs0.8 to the latest 0.8 version. This is a small update from
Next week we’ll be changing the inheritance of the
wercker/nodejs box from
wercker/ubuntu12.04-nodejs0.10. So if you use the
wercker/nodejs box, but require Node.js 0.8, then you either need to specify the version of the box in the wercker.yml or switch and use the
wercker/ubuntu12.04-nodejs0.8 box. More information about specifying the box version shortly.
Upcoming changes in the Ruby boxes
We currently also have three official Ruby boxes, wercker/ubuntu12.04-ruby1.9.3,wercker/ubuntu12.04-ruby2.0.0 and wercker/ruby. Where
wercker/ruby inherits from
wercker/ubuntu12.04-ruby1.9.3 and the two other boxes have the latest patch version of their Ruby version.
This week we’re going to upgrade both boxes to their latest patch level,
2.0.0-p353. Both changes should have minor impact.
Next week we’re also going to change the inheritance of the
wercker/ruby box to use
wercker/ubuntu12.04-ruby2.0.0 instead of
wercker/ubuntu12.04-ruby1.9.3. So if you use the
wercker/ruby box, but require Ruby 1.9.3, then you need to set the version of the box in the wercker.yml or start using box
Specifying the box version
Wercker supports specifying a certain box (or step) version in your wercker.yml using semver. So if your code is not yet ready to upgrade to a new box, you can specify the current version of the box and this will prevent the build from using the latest version of the box.
You can specify a semver version by using a @ after the box name:
The example above will make sure you always use 0.0.23 version of the
Note: if you don’t specify a version, you will get the latest version of the box.
If you want to fix your build to use the current boxes you can use these box versions:
Earn some stickers!
Let us know about the applications you build with wercker. Don’t forget to tweet out a screenshot of your first green build with #wercker and we’ll send you some @wercker stickers.
Signing up for wercker is free and easy.