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