@@ -1,92 +1,92 | |||
|
1 | 1 | source 'http://rubygems.org' |
|
2 | 2 | |
|
3 | 3 | gem 'rails', '3.2.6' |
|
4 | 4 | gem "jquery-rails", "~> 2.0.2" |
|
5 | gem "i18n", "0.6.0" | |
|
5 | gem "i18n", "~> 0.6.0" | |
|
6 | 6 | gem "coderay", "~> 1.0.6" |
|
7 | 7 | gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby] |
|
8 | 8 | gem "builder" |
|
9 | 9 | |
|
10 | 10 | # Optional gem for LDAP authentication |
|
11 | 11 | group :ldap do |
|
12 | 12 | gem "net-ldap", "~> 0.3.1" |
|
13 | 13 | end |
|
14 | 14 | |
|
15 | 15 | # Optional gem for OpenID authentication |
|
16 | 16 | group :openid do |
|
17 | 17 | gem "ruby-openid", "~> 2.1.4", :require => "openid" |
|
18 | 18 | gem "rack-openid" |
|
19 | 19 | end |
|
20 | 20 | |
|
21 | 21 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby |
|
22 | 22 | platforms :mri, :mingw do |
|
23 | 23 | group :rmagick do |
|
24 | 24 | # RMagick 2 supports ruby 1.9 |
|
25 | 25 | # RMagick 1 would be fine for ruby 1.8 but Bundler does not support |
|
26 | 26 | # different requirements for the same gem on different platforms |
|
27 | 27 | gem "rmagick", ">= 2.0.0" |
|
28 | 28 | end |
|
29 | 29 | end |
|
30 | 30 | |
|
31 | 31 | # Database gems |
|
32 | 32 | platforms :mri, :mingw do |
|
33 | 33 | group :postgresql do |
|
34 | 34 | gem "pg", ">= 0.11.0" |
|
35 | 35 | end |
|
36 | 36 | |
|
37 | 37 | group :sqlite do |
|
38 | 38 | gem "sqlite3" |
|
39 | 39 | end |
|
40 | 40 | end |
|
41 | 41 | |
|
42 | 42 | platforms :mri_18, :mingw_18 do |
|
43 | 43 | group :mysql do |
|
44 | 44 | gem "mysql" |
|
45 | 45 | end |
|
46 | 46 | end |
|
47 | 47 | |
|
48 | 48 | platforms :mri_19, :mingw_19 do |
|
49 | 49 | group :mysql do |
|
50 | 50 | gem "mysql2", "~> 0.3.11" |
|
51 | 51 | end |
|
52 | 52 | end |
|
53 | 53 | |
|
54 | 54 | platforms :jruby do |
|
55 | 55 | gem "jruby-openssl" |
|
56 | 56 | |
|
57 | 57 | group :mysql do |
|
58 | 58 | gem "activerecord-jdbcmysql-adapter" |
|
59 | 59 | end |
|
60 | 60 | |
|
61 | 61 | group :postgresql do |
|
62 | 62 | gem "activerecord-jdbcpostgresql-adapter" |
|
63 | 63 | end |
|
64 | 64 | |
|
65 | 65 | group :sqlite do |
|
66 | 66 | gem "activerecord-jdbcsqlite3-adapter" |
|
67 | 67 | end |
|
68 | 68 | end |
|
69 | 69 | |
|
70 | 70 | group :development do |
|
71 | 71 | gem "rdoc", ">= 2.4.2" |
|
72 | 72 | gem "yard" |
|
73 | 73 | end |
|
74 | 74 | |
|
75 | 75 | group :test do |
|
76 | 76 | gem "shoulda", "~> 2.11" |
|
77 | 77 | # Shoulda does not work nice on Ruby 1.9.3 and seems to need test-unit explicitely. |
|
78 | 78 | gem "test-unit", :platforms => [:mri_19] |
|
79 | 79 | gem "mocha", "0.12.3" |
|
80 | 80 | end |
|
81 | 81 | |
|
82 | 82 | local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") |
|
83 | 83 | if File.exists?(local_gemfile) |
|
84 | 84 | puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
85 | 85 | instance_eval File.read(local_gemfile) |
|
86 | 86 | end |
|
87 | 87 | |
|
88 | 88 | # Load plugins' Gemfiles |
|
89 | 89 | Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file| |
|
90 | 90 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
91 | 91 | instance_eval File.read(file) |
|
92 | 92 | end |
General Comments 0
You need to be logged in to leave comments.
Login now