Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Use bundler to install deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoglan committed Mar 23, 2012
1 parent 9d503b7 commit fe561ba
Show file tree
Hide file tree
Showing 178 changed files with 24,279 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
Gemfile.lock
.bundle
config.json
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source "http://rubygems.org"
gem "json"

1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -3,6 +3,7 @@ require 'fileutils'
task :install do
puts 'You need to install Shoes for the config panel'
puts 'http://shoesrb.com/downloads'
`./vendor/gems/bundler-1.1.0/bin/bundle --path vendor/bundle`
FileUtils.mkdir_p '/tmp/panicbutton'
FileUtils.cp File.expand_path('../config.sample.json', __FILE__), '/tmp/panicbutton/config.json'
end
Expand Down
3 changes: 3 additions & 0 deletions app.rb
@@ -1,5 +1,8 @@
require 'rubygems'
$LOAD_PATH.unshift(File.expand_path('../vendor/gems/bundler-1.1.0/lib', __FILE__))
require 'bundler/setup'
require 'json'

$conf_file = '/tmp/panicbutton/config.json'

if File.file? $conf_file
Expand Down
22 changes: 22 additions & 0 deletions vendor/gems/bundler-1.1.0/.gitignore
@@ -0,0 +1,22 @@
# system crap
.DS_Store
.*.swp

# files created by running the specs
tmp

# built gems
pkg
*.gem

# rubinius bytecode
*.rbc

# output from ronn
lib/bundler/man

# output from ci_reporter
spec/reports

# Netbeans
nbproject
39 changes: 39 additions & 0 deletions vendor/gems/bundler-1.1.0/.travis.yml
@@ -0,0 +1,39 @@
before_script:
- sudo apt-get install groff -y
- rake spec:deps

script: rake spec:travis

rvm:
- 1.8.7
- 1.9.2
- 1.9.3

env:
- RGV=v1.3.6
- RGV=v1.3.7
- RGV=v1.4.2
- RGV=v1.5.3
- RGV=v1.6.2
- RGV=v1.7.2
- RGV=v1.8.10

matrix:
exclude:
- rvm: 1.9.2
env: RGV=v1.3.6
- rvm: 1.9.2
env: RGV=v1.3.7
- rvm: 1.9.2
env: RGV=v1.4.2
- rvm: 1.9.3
env: RGV=v1.3.6
- rvm: 1.9.3
env: RGV=v1.3.7
- rvm: 1.9.3
env: RGV=v1.4.2

notifications:
email:
- travis-ci@andrearko.com
- hone02@gmail.com

0 comments on commit fe561ba

Please sign in to comment.