Skip to content

Instantly share code, notes, and snippets.

@gudleik
Created November 15, 2011 14:09
Show Gist options
  • Save gudleik/1367163 to your computer and use it in GitHub Desktop.
Save gudleik/1367163 to your computer and use it in GitHub Desktop.
$ rails new dummy -O -T --skip-bundle
$ cd dummy
$ rbenv local 1.9.3-p0
$ echo "gem 'thin'" >> Gemfile
$ bundle install --path vendor
$ bundle package
$ sed -i -e "s/serve_static_assets = false/serve_static_assets = true/" config/environments/production.rb
$ rake assets:precompile
$ vmc push dummy --runtime ruby19
Would you like to deploy from the current directory? [Yn]:
Application Deployed URL ["dummy.cf.skalar.no"]:
Detected a Rails Application, is this correct? [Yn]:
Memory Reservation ("64M", "128M", "256M", "512M", "1G") ["256M"]:
Creating Application: OK
Would you like to bind any services to 'dummy'? [yN]:
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (638K): OK
Push Status: OK
Staging Application: OK
Starting Application: ....
Error: Application [dummy] failed to start, logs information below.
====> /logs/staging.log <====
# Logfile created on 2011-11-15 14:08:54 +0000 by logger.rb/25413
Adding actionmailer-3.1.1.gem to app...
Adding actionpack-3.1.1.gem to app...
Adding activemodel-3.1.1.gem to app...
Adding activerecord-3.1.1.gem to app...
Adding activeresource-3.1.1.gem to app...
Adding activesupport-3.1.1.gem to app...
Adding arel-2.2.1.gem to app...
Adding builder-3.0.0.gem to app...
Adding coffee-rails-3.1.1.gem to app...
Adding coffee-script-2.2.0.gem to app...
Adding coffee-script-source-1.1.3.gem to app...
Adding daemons-1.1.4.gem to app...
Adding erubis-2.7.0.gem to app...
Adding eventmachine-0.12.10.gem to app...
Adding execjs-1.2.9.gem to app...
Adding hike-1.2.1.gem to app...
Adding i18n-0.6.0.gem to app...
Delete the application? [Yn]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment