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