Skip to content

Commit

Permalink
Bump version to 20141215
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Dec 15, 2014
1 parent ded4407 commit df6aaf0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 20141215

* The Linux packages now include libffi.so.6, which was forgotten in the previous release. Closes GH-16.

## Version 20141213

* Further removed unnecessary files. The Ruby binary packages were about 10 MB before. They are now about 6 MB.
Expand Down
16 changes: 8 additions & 8 deletions TUTORIAL-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ mkdir -p hello-1.0.0-osx/lib/app/
cp hello.rb hello-1.0.0-osx/lib/app/
```

Next, create a `packaging` directory and download Traveling Ruby binaries for each platform into that directory. Then extract these binaries into each packaging directory. You can find a list of binaries at [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). For faster download times, use the CloudFront domain "http://d6r77u77i8pq3.cloudfront.net". In this tutorial we're extracting version 20141213-2.1.5.
Next, create a `packaging` directory and download Traveling Ruby binaries for each platform into that directory. Then extract these binaries into each packaging directory. You can find a list of binaries at [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). For faster download times, use the CloudFront domain "http://d6r77u77i8pq3.cloudfront.net". In this tutorial we're extracting version 20141215-2.1.5.

```Bash
mkdir packaging
cd packaging
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141213-2.1.5-linux-x86.tar.gz
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141213-2.1.5-linux-x86_64.tar.gz
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141213-2.1.5-osx.tar.gz
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141215-2.1.5-linux-x86.tar.gz
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141215-2.1.5-linux-x86_64.tar.gz
curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-20141215-2.1.5-osx.tar.gz
cd ..

mkdir hello-1.0.0-linux-x86/lib/ruby && tar -xzf packaging/traveling-ruby-20141213-2.1.5-linux-x86.tar.gz -C hello-1.0.0-linux-x86/lib/ruby
mkdir hello-1.0.0-linux-x86_64/lib/ruby && tar -xzf packaging/traveling-ruby-20141213-2.1.5-linux-x86_64.tar.gz -C hello-1.0.0-linux-x86_64/lib/ruby
mkdir hello-1.0.0-osx/lib/ruby && tar -xzf packaging/traveling-ruby-20141213-2.1.5-osx.tar.gz -C hello-1.0.0-osx/lib/ruby
mkdir hello-1.0.0-linux-x86/lib/ruby && tar -xzf packaging/traveling-ruby-20141215-2.1.5-linux-x86.tar.gz -C hello-1.0.0-linux-x86/lib/ruby
mkdir hello-1.0.0-linux-x86_64/lib/ruby && tar -xzf packaging/traveling-ruby-20141215-2.1.5-linux-x86_64.tar.gz -C hello-1.0.0-linux-x86_64/lib/ruby
mkdir hello-1.0.0-osx/lib/ruby && tar -xzf packaging/traveling-ruby-20141215-2.1.5-osx.tar.gz -C hello-1.0.0-osx/lib/ruby
```

Now, each package directory will have Ruby binaries included. It looks like this:
Expand Down Expand Up @@ -154,7 +154,7 @@ Going through all of the above steps on every release is a hassle, so you should
```Ruby
PACKAGE_NAME = "hello"
VERSION = "1.0.0"
TRAVELING_RUBY_VERSION = "20141213-2.1.5"
TRAVELING_RUBY_VERSION = "20141215-2.1.5"

desc "Package your app"
task :package => ['package:linux:x86', 'package:linux:x86_64', 'package:osx']
Expand Down
2 changes: 1 addition & 1 deletion TUTORIAL-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ require 'bundler/setup'

PACKAGE_NAME = "hello"
VERSION = "1.0.0"
TRAVELING_RUBY_VERSION = "20141213-2.1.5"
TRAVELING_RUBY_VERSION = "20141215-2.1.5"

desc "Package your app"
task :package => ['package:linux:x86', 'package:linux:x86_64', 'package:osx']
Expand Down
12 changes: 6 additions & 6 deletions TUTORIAL-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ So instead, the Traveling Ruby project supplies a number of precompiled native e

Suppose that we want our hello world app from tutorial 2 to insert a row into an SQLite database file. We'll want to use the sqlite3 gem for that.

Traveling Ruby provides a specific version of the sqlite3 gem. See [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). For version 20141213-2.1.5, version 1.3.9 is supplied. So we add the following to our Gemfile:
Traveling Ruby provides a specific version of the sqlite3 gem. See [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). For version 20141215-2.1.5, version 1.3.9 is supplied. So we add the following to our Gemfile:

gem 'sqlite3', '1.3.9'

Expand Down Expand Up @@ -60,22 +60,22 @@ Now you are ready to drop platform-specific native extensions inside the package

$ rake package DIR_ONLY=1

Next you must download the necessary native extensions, and extract them into `<PACKAGE DIR>/lib/vendor`. You can find native extensions at [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). Suppose that you're using Traveling Ruby version 20141213-2.1.5, which supplies sqlite3 version 1.3.9. Download and extract the precompiled binaries as follows. Remember that we're using CloudFront domain "http://d6r77u77i8pq3.cloudfront.net" to speed up downloads.
Next you must download the necessary native extensions, and extract them into `<PACKAGE DIR>/lib/vendor`. You can find native extensions at [the Traveling Ruby Amazon S3 bucket](http://traveling-ruby.s3-us-west-2.amazonaws.com/list.html). Suppose that you're using Traveling Ruby version 20141215-2.1.5, which supplies sqlite3 version 1.3.9. Download and extract the precompiled binaries as follows. Remember that we're using CloudFront domain "http://d6r77u77i8pq3.cloudfront.net" to speed up downloads.

$ cd hello-1.0.0-linux-x86/lib/vendor/ruby
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141213-2.1.5-linux-x86/sqlite3-1.3.9.tar.gz
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141215-2.1.5-linux-x86/sqlite3-1.3.9.tar.gz
$ tar xzf sqlite3-1.3.9.tar.gz
$ rm sqlite3-1.3.9.tar.gz
$ cd ../../../..

$ cd hello-1.0.0-linux-x86_64/lib/vendor/ruby
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141213-2.1.5-linux-x86_64/sqlite3-1.3.9.tar.gz
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141215-2.1.5-linux-x86_64/sqlite3-1.3.9.tar.gz
$ tar xzf sqlite3-1.3.9.tar.gz
$ rm sqlite3-1.3.9.tar.gz
$ cd ../../../..

$ cd hello-1.0.0-osx/lib/vendor/ruby
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141213-2.1.5-osx/sqlite3-1.3.9.tar.gz
$ curl -L -O --fail http://d6r77u77i8pq3.cloudfront.net/releases/traveling-ruby-gems-20141215-2.1.5-osx/sqlite3-1.3.9.tar.gz
$ tar xzf sqlite3-1.3.9.tar.gz
$ rm sqlite3-1.3.9.tar.gz
$ cd ../../../..
Expand Down Expand Up @@ -112,7 +112,7 @@ We update the Rakefile so that all of the above steps are automated by running `

PACKAGE_NAME = "hello"
VERSION = "1.0.0"
TRAVELING_RUBY_VERSION = "20141213-2.1.5"
TRAVELING_RUBY_VERSION = "20141215-2.1.5"
SQLITE3_VERSION = "1.3.9" # Must match Gemfile

desc "Package your app"
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20141213
20141215

0 comments on commit df6aaf0

Please sign in to comment.