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