diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-16 14:51:40 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-16 14:51:40 +0300 |
commit | 356373b2154f4a062e4867910590f1c0358803f7 (patch) | |
tree | 3724f3a76c784d549f653789dd57433725b9c85f /Gemfile | |
parent | 43afc54ade8b25d4bab2a6bd9ac19fb546232dfe (diff) | |
download | refinerycms-blog-356373b2154f4a062e4867910590f1c0358803f7.tar.gz refinerycms-blog-356373b2154f4a062e4867910590f1c0358803f7.tar.bz2 refinerycms-blog-356373b2154f4a062e4867910590f1c0358803f7.zip |
Apply chnages recently made in main refinerycms repo.
* Remove notifier gems
* Remove Guardfile
* Add ability to specify additional gems when developing in .gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 79 |
1 files changed, 24 insertions, 55 deletions
@@ -1,66 +1,30 @@ -source "http://rubygems.org" +source "https://rubygems.org" gemspec -git 'https://github.com/refinery/refinerycms.git', :branch => 'master' do - gem 'refinerycms' - gem 'refinerycms-testing', :group => [:development, :test] -end - -gem 'refinerycms-i18n', :github => 'refinery/refinerycms-i18n', :branch => 'master' -gem 'refinerycms-settings', :github => 'refinery/refinerycms-settings', :branch => 'master' - -group :development, :test do - require 'rbconfig' - - gem 'guard-rspec', '~> 1.1.0' - - platforms :jruby do - gem 'activerecord-jdbcsqlite3-adapter' - gem 'activerecord-jdbcmysql-adapter' - gem 'activerecord-jdbcpostgresql-adapter' - gem 'jruby-openssl' - end - - unless defined?(JRUBY_VERSION) - gem 'sqlite3' - gem 'mysql2' - gem 'pg' - end +gem 'refinerycms', :github => 'refinery/refinerycms' +gem 'refinerycms-settings', :github => 'refinery/refinerycms-settings' +gem 'refinerycms-testing', '~> 2.1.0', :group => :test - platforms :mswin, :mingw do - gem 'win32console' - gem 'rb-fchange', '~> 0.0.5' - gem 'rb-notifu', '~> 0.0.4' - end +# Database Configuration +unless ENV['TRAVIS'] + gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby + gem 'sqlite3', :platform => :ruby +end - platforms :ruby do - unless ENV['TRAVIS'] - if RbConfig::CONFIG['target_os'] =~ /darwin/i - gem 'rb-fsevent', '~> 0.9.1' - gem 'ruby_gntp', '~> 0.3.4' - end - if RbConfig::CONFIG['target_os'] =~ /linux/i - gem 'rb-inotify', '~> 0.8.8' - gem 'libnotify', '~> 0.7.4' - gem 'therubyracer', '~> 0.10.1' - end - end - end +if !ENV['TRAVIS'] || ENV['DB'] == 'mysql' + gem 'activerecord-jdbcmysql-adapter', :platform => :jruby + gem 'jdbc-mysql', '= 5.1.13', :platform => :jruby + gem 'mysql2', :platform => :ruby +end - platforms :jruby do - unless ENV['TRAVIS'] - if RbConfig::CONFIG['target_os'] =~ /darwin/i - gem 'ruby_gntp', '~> 0.3.4' - end - if RbConfig::CONFIG['target_os'] =~ /linux/i - gem 'rb-inotify', '~> 0.8.8' - gem 'libnotify', '~> 0.7.4' - end - end - end +if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql' + gem 'activerecord-jdbcpostgresql-adapter', :platform => :jruby + gem 'pg', :platform => :ruby end +gem 'jruby-openssl', :platform => :jruby + # Refinery/rails should pull in the proper versions of these group :assets do gem 'sass-rails' @@ -69,3 +33,8 @@ group :assets do end gem 'jquery-rails' + +# Load local gems according to Refinery developer preference. +if File.exist? local_gemfile = File.expand_path('../.gemfile', __FILE__) + eval File.read(local_gemfile) +end |