Skip to content

Instantly share code, notes, and snippets.

@lukemorton
Last active September 20, 2015 08:41
Show Gist options
  • Save lukemorton/faed114f50a35a19245b to your computer and use it in GitHub Desktop.
Save lukemorton/faed114f50a35a19245b to your computer and use it in GitHub Desktop.
box: ruby
services:
- id: mariadb
env:
MYSQL_ROOT_PASSWORD: mypassword
dev:
steps:
- bundle-install
- internal/watch:
code: |
bundle exec rake db:setup
bundle exec rails s -b 0.0.0.0
reload: true
build:
steps:
- bundle-install
- script:
name: rspec
code: bundle exec rspec
--> Running step: wercker-init
--> Running step: bundle-install
Gemfile found. Start bundle install.
bundler gem is available, and will not be installed by this step
type bundle: bundle is /usr/local/bundle/bin/bundle
bundle version: Bundler version 1.10.6
bundle install --path /cache/bundle-install/
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using rake 10.4.2
Installing i18n 0.7.0
Installing json 1.8.3 with native extensions
Installing minitest 5.8.0
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.2.4
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile 0.6.2
Installing nokogiri 1.6.6.2 with native extensions
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-dom-testing 1.0.7
Installing loofah 2.0.3
Installing rails-html-sanitizer 1.0.2
Installing actionview 4.2.4
Installing rack 1.6.4
Installing rack-test 0.6.3
Installing actionpack 4.2.4
Installing globalid 0.3.6
Installing activejob 4.2.4
Installing mime-types 2.6.2
Installing mail 2.6.3
Installing actionmailer 4.2.4
Installing activemodel 4.2.4
Installing arel 6.0.3
Installing activerecord 4.2.4
Installing debug_inspector 0.0.2 with native extensions
Installing binding_of_caller 0.7.2 with native extensions
Installing byebug 6.0.2 with native extensions
Installing coffee-script-source 1.9.1.1
Installing execjs 2.6.0
Installing coffee-script 2.4.1
Installing thor 0.19.1
Installing railties 4.2.4
Installing coffee-rails 4.1.0
Installing diff-lcs 1.2.5
Installing multi_json 1.11.2
Installing jbuilder 2.3.1
Installing jquery-rails 4.0.5
Installing libv8 3.16.14.11
Installing mysql2 0.3.20 with native extensions
Using bundler 1.10.6
Installing sprockets 3.3.4
Installing sprockets-rails 2.3.3
Installing rails 4.2.4
Using rdoc 4.2.0
Installing ref 2.0.0
Installing rspec-support 3.3.0
Installing rspec-core 3.3.2
Installing rspec-expectations 3.3.1
Installing rspec-mocks 3.3.2
Installing rspec 3.3.0
Installing sass 3.4.18
Installing tilt 2.0.1
Installing sass-rails 5.0.4
Installing sdoc 0.4.1
Installing spring 1.4.0
Installing sqlite3 1.3.10 with native extensions
Installing therubyracer 0.12.2 with native extensions
Installing turbolinks 2.5.3
Installing uglifier 2.7.2
Installing web-console 2.2.1
Bundle complete! 15 Gemfile dependencies, 63 gems now installed.
Bundled gems are installed into /cache/bundle-install.
finished bundle install --path /cache/bundle-install/
skipping rbenv rehash because rbenv is not found
--> Running step: watch
--> Reloading on file changes
--> Reloading
--> Forwarding 192.168.99.100:3000 to 3000 on the container.
/pipeline/source/db/schema.rb doesn't exist yet. Run `rake db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /pipeline/source/config/application.rb to limit the frameworks that will be loaded.
=> Booting WEBrick
=> Rails 4.2.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-09-20 08:40:32] INFO WEBrick 1.3.1
[2015-09-20 08:40:32] INFO ruby 2.2.3 (2015-08-18) [x86_64-linux]
[2015-09-20 08:40:32] INFO WEBrick::HTTPServer#start: pid=19288 port=3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment