Skip to content

Commit

Permalink
Added bundle install check
Browse files Browse the repository at this point in the history
  • Loading branch information
comuttun committed Jul 31, 2014
1 parent 3030856 commit 2c73d2e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 34 deletions.
68 changes: 34 additions & 34 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
source 'https://rubygems.org'


gem 'nokogiri', '~> 1.6'
gem 'nokogiri', '1.6.3.1'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.1'
gem 'rails', '4.1.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0'
gem 'sass-rails', '4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '~> 2.5'
gem 'uglifier', '2.5.3'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0'
gem 'coffee-rails', '4.0.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails', '~> 3.1'
gem 'jquery-rails', '3.1.1'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks', '~> 2.2'
gem 'jquery-turbolinks', '~> 2.0'
gem 'turbolinks', '2.2.2'
gem 'jquery-turbolinks', '2.0.2'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.1'
gem 'jbuilder', '2.1.3'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', group: :doc

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# gem 'bcrypt', '3.1.7'

# Use unicorn as the app server
gem 'unicorn', '~> 4.8'
gem 'unicorn', '4.8.3'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]

gem 'devise', '~> 3.2'
gem 'awesome_print', '~> 1.2'
gem 'foreigner', '~> 1.6'
gem 'railroady', '~> 1.1'
gem 'acts-as-taggable-on', '~> 3.3'
gem 'redcarpet', '~> 3.1'
gem 'thin', '~> 1.6'
gem 'kaminari', '~> 0.16'
gem 'coderay', '~> 1.1'
gem 'coderay_bash', '~> 1.0'
gem 'diffy', '~> 3.0'
gem 'devise', '3.2.4'
gem 'awesome_print', '1.2.0'
gem 'foreigner', '1.6.1'
gem 'railroady', '1.1.1'
gem 'acts-as-taggable-on', '3.3.0'
gem 'redcarpet', '3.1.2'
gem 'thin', '1.6.2'
gem 'kaminari', '0.16.1'
gem 'coderay', '1.1.0'
gem 'coderay_bash', '1.0.5'
gem 'diffy', '3.0.5'
gem 'yaml_db', git: 'https://github.com/jetthoughts/yaml_db', ref: 'fb4b6bd7e12de3cffa93e0a298a1e5253d7e92ba'
gem 'activerecord-import', '~> 0.5'
gem 'counter_culture', '~> 0.1'
gem 'rails_config', '~> 0.4'
gem 'dotenv-rails', '~> 0.11'
gem 'bootstrap-sass', '~> 3.2'
gem 'bootswatch-rails', '~> 3.2'
gem 'autoprefixer-rails', '~> 2.2'
gem 'compass-rails', '~> 2.0'
gem 'activerecord-import', '0.5.0'
gem 'counter_culture', '0.1.24'
gem 'rails_config', '0.4.2'
gem 'dotenv-rails', '0.11.1'
gem 'bootstrap-sass', '3.2.0.0'
gem 'bootswatch-rails', '3.2.0'
gem 'autoprefixer-rails', '2.2.0.20140727'
gem 'compass-rails', '2.0.0'
#gem 'whenever', :require => false
gem 'omniauth-google-oauth2', '~> 0.2'
gem 'omniauth-google-oauth2', '0.2.5'

group :development do
gem 'bullet'
Expand Down Expand Up @@ -102,11 +102,11 @@ if File.exist?(database_file)
adapters.each do |adapter|
case adapter
when 'mysql2'
gem "mysql2", '~> 0.3'
gem "mysql2", ''
when /postgresql/
gem "pg", '~> 0.17'
gem "pg", ''
when /sqlite3/
gem "sqlite3", '~> 1.3'
gem "sqlite3", '1.3.9'
else
warn("Unknown database adapter `#{adapter}` found in config/database.yml")
end
Expand Down
7 changes: 7 additions & 0 deletions rake/tasks/release.rake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ namespace :lodge do
if $?.exitstatus != 0 or not git_status.empty?
raise "git status failed: #{git_status}"
end

bundle_install = `bundle install 2>&1`
if $?.exitstatus != 0
raise "bundle install failed: #{bundle_install}"
else
puts bundle_install
end
end

lockfile_path = File.expand_path('Gemfile.lock', @root_path)
Expand Down

0 comments on commit 2c73d2e

Please sign in to comment.