@@ -1,87 +1,88 | |||||
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.6" |
|
5 | gem "coderay", "~> 1.0.6" | |
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, not supported with jruby |
|
19 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby | |
20 | platforms :mri, :mingw do |
|
20 | platforms :mri, :mingw do | |
21 | group :rmagick do |
|
21 | group :rmagick do | |
22 | # RMagick 2 supports ruby 1.9 |
|
22 | # RMagick 2 supports ruby 1.9 | |
23 | # 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 | |
24 | # different requirements for the same gem on different platforms |
|
24 | # different requirements for the same gem on different platforms | |
25 | gem "rmagick", ">= 2.0.0" |
|
25 | gem "rmagick", ">= 2.0.0" | |
26 | end |
|
26 | end | |
27 | end |
|
27 | end | |
28 |
|
28 | |||
29 | # Database gems |
|
29 | # Database gems | |
30 | platforms :mri, :mingw do |
|
30 | platforms :mri, :mingw do | |
31 | group :postgresql do |
|
31 | group :postgresql do | |
32 | gem "pg", ">= 0.11.0" |
|
32 | gem "pg", ">= 0.11.0" | |
33 | end |
|
33 | end | |
34 |
|
34 | |||
35 | group :sqlite do |
|
35 | group :sqlite do | |
36 | gem "sqlite3" |
|
36 | gem "sqlite3" | |
37 | end |
|
37 | end | |
38 | end |
|
38 | end | |
39 |
|
39 | |||
40 | platforms :mri_18, :mingw_18 do |
|
40 | platforms :mri_18, :mingw_18 do | |
41 | group :mysql do |
|
41 | group :mysql do | |
42 | gem "mysql" |
|
42 | gem "mysql" | |
43 | end |
|
43 | end | |
44 | end |
|
44 | end | |
45 |
|
45 | |||
46 | platforms :mri_19, :mingw_19 do |
|
46 | platforms :mri_19, :mingw_19 do | |
47 | group :mysql do |
|
47 | group :mysql do | |
48 | gem "mysql2", "~> 0.2.7" |
|
48 | gem "mysql2", "~> 0.2.7" | |
49 | end |
|
49 | end | |
50 | end |
|
50 | end | |
51 |
|
51 | |||
52 | platforms :jruby do |
|
52 | platforms :jruby do | |
53 | gem "jruby-openssl" |
|
53 | gem "jruby-openssl" | |
54 |
|
54 | |||
55 | group :mysql do |
|
55 | group :mysql do | |
56 | gem "activerecord-jdbcmysql-adapter" |
|
56 | gem "activerecord-jdbcmysql-adapter" | |
57 | end |
|
57 | end | |
58 |
|
58 | |||
59 | group :postgresql do |
|
59 | group :postgresql do | |
60 | gem "activerecord-jdbcpostgresql-adapter" |
|
60 | gem "activerecord-jdbcpostgresql-adapter" | |
61 | end |
|
61 | end | |
62 |
|
62 | |||
63 | group :sqlite do |
|
63 | group :sqlite do | |
64 | gem "activerecord-jdbcsqlite3-adapter" |
|
64 | gem "activerecord-jdbcsqlite3-adapter" | |
65 | end |
|
65 | end | |
66 | end |
|
66 | end | |
67 |
|
67 | |||
68 | group :development do |
|
68 | group :development do | |
69 | gem "rdoc", ">= 2.4.2" |
|
69 | gem "rdoc", ">= 2.4.2" | |
70 | end |
|
70 | end | |
71 |
|
71 | |||
72 | group :test do |
|
72 | group :test do | |
73 | gem "shoulda", "~> 2.10.3" |
|
73 | gem "shoulda", "~> 2.10.3" | |
74 | gem "edavis10-object_daddy", :require => "object_daddy" |
|
74 | gem "edavis10-object_daddy", :require => "object_daddy" | |
75 | gem "mocha" |
|
75 | gem "mocha" | |
76 | end |
|
76 | end | |
77 |
|
77 | |||
78 | if File.exists?('Gemfile.local') |
|
78 | local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") | |
|
79 | if File.exists?(local_gemfile) | |||
79 | puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
80 | puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` | |
80 |
instance_eval File.read( |
|
81 | instance_eval File.read(local_gemfile) | |
81 | end |
|
82 | end | |
82 |
|
83 | |||
83 | # Load plugins' Gemfiles |
|
84 | # Load plugins' Gemfiles | |
84 | Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file| |
|
85 | Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file| | |
85 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
86 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` | |
86 | instance_eval File.read(file) |
|
87 | instance_eval File.read(file) | |
87 | end |
|
88 | end |
General Comments 0
You need to be logged in to leave comments.
Login now