Project

General

Profile

RE: XLS export plugin ยป Gemfile

GemFile - Youssef Boujraf, 2013-02-08 00:20

 
1
source 'http://rubygems.org'
2

    
3
gem "thin"
4
gem "spreadsheet" 
5
gem "rubyzip" 
6

    
7

    
8
gem 'rails', '3.2.9'
9
gem "jquery-rails", "~> 2.0.2"
10
gem "i18n", "~> 0.6.0"
11
gem "coderay", "~> 1.0.6"
12
gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby]
13
gem "builder", "3.0.0"
14

    
15
# Optional gem for LDAP authentication
16
group :ldap do
17
  gem "net-ldap", "~> 0.3.1"
18
end
19

    
20
# Optional gem for OpenID authentication
21
group :openid do
22
  gem "ruby-openid", "~> 2.1.4", :require => "openid"
23
  gem "rack-openid"
24
end
25

    
26
# Optional gem for exporting the gantt to a PNG file, not supported with jruby
27
platforms :mri, :mingw do
28
  group :rmagick do
29
    # RMagick 2 supports ruby 1.9
30
    # RMagick 1 would be fine for ruby 1.8 but Bundler does not support
31
    # different requirements for the same gem on different platforms
32
    gem "rmagick", ">= 2.0.0"
33
  end
34
end
35

    
36
# Database gems
37
platforms :mri, :mingw do
38
  group :postgresql do
39
    #gem "pg", ">= 0.11.0"
40
  end
41

    
42
  group :sqlite do
43
    gem "sqlite3"
44
  end
45
end
46

    
47
platforms :mri_18, :mingw_18 do
48
  group :mysql do
49
    #gem "mysql", "~> 2.8.1"
50
  end
51
end
52

    
53
platforms :mri_19, :mingw_19 do
54
  group :mysql do
55
    gem "mysql2", "~> 0.3.11"
56
  end
57
end
58

    
59
platforms :jruby do
60
  gem "jruby-openssl"
61

    
62
  group :mysql do
63
    gem "activerecord-jdbcmysql-adapter"
64
  end
65

    
66
  group :postgresql do
67
    gem "activerecord-jdbcpostgresql-adapter"
68
  end
69

    
70
  group :sqlite do
71
    gem "activerecord-jdbcsqlite3-adapter"
72
  end
73
end
74

    
75
group :development do
76
  gem "rdoc", ">= 2.4.2"
77
  gem "yard"
78
end
79

    
80
group :test do
81
  #gem "shoulda", "~> 2.11"
82
  # Shoulda does not work nice on Ruby 1.9.3 and JRuby 1.7.
83
  # It seems to need test-unit explicitely.
84
  platforms = [:mri_19]
85
  platforms << :jruby if defined?(JRUBY_VERSION) && JRUBY_VERSION >= "1.7"
86
  gem "test-unit", :platforms => platforms
87
  gem "mocha", "0.12.3"
88
end
89

    
90
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
91
if File.exists?(local_gemfile)
92
  puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
93
  instance_eval File.read(local_gemfile)
94
end
95

    
96
# Load plugins' Gemfiles
97
Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
98
  puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
99
  instance_eval File.read(file)
100
end
    (1-1/1)