Differences
This shows you the differences between two versions of the page.
|
docs:rails3 [2011/04/07 11:34] johnleach fixed typo |
docs:rails3 [2012/05/10 17:56] (current) johnleach remove old hardy refs, added ruby-ng link |
||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ==== Ruby ==== | ==== Ruby ==== | ||
| - | Lucid based Brightboxes include 1.8.7 by default. Ruby 1.9.2 is also supported, though we don't have packages for it just yet. If you're using Hardy based Brightboxes you'll need to upgrade the standard Ruby Enterprise Edition package like so. | + | Lucid and Precise based Brightboxes include 1.8.7 by default. [[docs:ruby-ng|Ruby 1.9.x is also supported]]. |
| - | + | ||
| - | Edit your ''/etc/apt/sources.list.d/brightbox-rubyee.list'' file and change the ''rubyee'' component to ''rubyee-testing'': | + | |
| - | + | ||
| - | <code> | + | |
| - | deb http://apt.brightbox.net/ hardy rubyee-testing | + | |
| - | </code> | + | |
| - | + | ||
| - | Then upgrade: | + | |
| - | <code> | + | |
| - | sudo apt-get update | + | |
| - | sudo apt-get install libruby1.8 | + | |
| - | </code> | + | |
| - | + | ||
| - | ==== Rubygems ==== | + | |
| - | + | ||
| - | New Brightboxes include our 1.3.7 rubygems package for Ubuntu by default, but if you're running an older version you can upgrade like so. | + | |
| - | + | ||
| - | <code>sudo apt-get update | + | |
| - | sudo apt-get install rubygems</code> | + | |
| - | + | ||
| - | If you have installed Rubygems from source, our Ubuntu package will automatically replace the source installed version while preserving all your currently installed gems. We recommend using our packaged version. | + | |
| ==== Brightbox deployment gem ==== | ==== Brightbox deployment gem ==== | ||
| Line 63: | Line 42: | ||
| <code>sudo gem install rails -v3.0.0</code> | <code>sudo gem install rails -v3.0.0</code> | ||
| - | |||