Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (21 sloc) 0.697 kB

Ruby ClickStack

Using this ClickStack:

This stack uses Ruby 1.9.3, provided by ArchLinux x64

Use bundler to manage your gems

Use rake to do things (Default rake task is run[$app_port])

To specify different settings:

bees config:set MYAPP -Rargs='run[$app_port]'
bees app:restart MYAPP

Rails example:

Add a run.rake file in lib/tasks with:

task :run, :port do |t, args|
    exec "rails server -p #{args.port}"

And add those two lines to the Gemfile (To get a JavaScript runtime):

gem 'execjs'
gem 'therubyracer'

Prepare for deployment!

bundle install
zip ../ *
bees app:deploy -a myapp -t ruby ../

It's that easy!

Jump to Line
Something went wrong with that request. Please try again.