##// END OF EJS Templates
Upgrade to Rails 3.2.10....
Jean-Philippe Lang -
r10879:d264911f1468
parent child
Show More
@@ -1,98 +1,98
1 source 'http://rubygems.org'
1 source 'http://rubygems.org'
2
2
3 gem 'rails', '3.2.9'
3 gem 'rails', '3.2.10'
4 gem "jquery-rails", "~> 2.0.2"
4 gem "jquery-rails", "~> 2.0.2"
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 "builder", "3.0.0"
8 gem "builder", "3.0.0"
9
9
10 # Optional gem for LDAP authentication
10 # Optional gem for LDAP authentication
11 group :ldap do
11 group :ldap do
12 gem "net-ldap", "~> 0.3.1"
12 gem "net-ldap", "~> 0.3.1"
13 end
13 end
14
14
15 # Optional gem for OpenID authentication
15 # Optional gem for OpenID authentication
16 group :openid do
16 group :openid do
17 gem "ruby-openid", "~> 2.1.4", :require => "openid"
17 gem "ruby-openid", "~> 2.1.4", :require => "openid"
18 gem "rack-openid"
18 gem "rack-openid"
19 end
19 end
20
20
21 # 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
22 platforms :mri, :mingw do
22 platforms :mri, :mingw do
23 group :rmagick do
23 group :rmagick do
24 # RMagick 2 supports ruby 1.9
24 # RMagick 2 supports ruby 1.9
25 # 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
26 # different requirements for the same gem on different platforms
26 # different requirements for the same gem on different platforms
27 gem "rmagick", ">= 2.0.0"
27 gem "rmagick", ">= 2.0.0"
28 end
28 end
29 end
29 end
30
30
31 # Database gems
31 # Database gems
32 platforms :mri, :mingw do
32 platforms :mri, :mingw do
33 group :postgresql do
33 group :postgresql do
34 gem "pg", ">= 0.11.0"
34 gem "pg", ">= 0.11.0"
35 end
35 end
36
36
37 group :sqlite do
37 group :sqlite do
38 gem "sqlite3"
38 gem "sqlite3"
39 end
39 end
40 end
40 end
41
41
42 platforms :mri_18, :mingw_18 do
42 platforms :mri_18, :mingw_18 do
43 group :mysql do
43 group :mysql do
44 gem "mysql", "~> 2.8.1"
44 gem "mysql", "~> 2.8.1"
45 end
45 end
46 end
46 end
47
47
48 platforms :mri_19, :mingw_19 do
48 platforms :mri_19, :mingw_19 do
49 group :mysql do
49 group :mysql do
50 gem "mysql2", "~> 0.3.11"
50 gem "mysql2", "~> 0.3.11"
51 end
51 end
52 end
52 end
53
53
54 platforms :jruby do
54 platforms :jruby do
55 # jruby-openssl is bundled with JRuby 1.7.0
55 # jruby-openssl is bundled with JRuby 1.7.0
56 gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
56 gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
57 gem "activerecord-jdbc-adapter", "1.2.2"
57 gem "activerecord-jdbc-adapter", "1.2.2"
58
58
59 group :mysql do
59 group :mysql do
60 gem "jdbc-mysql", "5.1.13"
60 gem "jdbc-mysql", "5.1.13"
61 gem "activerecord-jdbcmysql-adapter"
61 gem "activerecord-jdbcmysql-adapter"
62 end
62 end
63
63
64 group :postgresql do
64 group :postgresql do
65 gem "activerecord-jdbcpostgresql-adapter"
65 gem "activerecord-jdbcpostgresql-adapter"
66 end
66 end
67
67
68 group :sqlite do
68 group :sqlite do
69 gem "activerecord-jdbcsqlite3-adapter"
69 gem "activerecord-jdbcsqlite3-adapter"
70 end
70 end
71 end
71 end
72
72
73 group :development do
73 group :development do
74 gem "rdoc", ">= 2.4.2"
74 gem "rdoc", ">= 2.4.2"
75 gem "yard"
75 gem "yard"
76 end
76 end
77
77
78 group :test do
78 group :test do
79 gem "shoulda", "~> 2.11"
79 gem "shoulda", "~> 2.11"
80 # Shoulda does not work nice on Ruby 1.9.3 and JRuby 1.7.
80 # Shoulda does not work nice on Ruby 1.9.3 and JRuby 1.7.
81 # It seems to need test-unit explicitely.
81 # It seems to need test-unit explicitely.
82 platforms = [:mri_19]
82 platforms = [:mri_19]
83 platforms << :jruby if defined?(JRUBY_VERSION) && JRUBY_VERSION >= "1.7"
83 platforms << :jruby if defined?(JRUBY_VERSION) && JRUBY_VERSION >= "1.7"
84 gem "test-unit", :platforms => platforms
84 gem "test-unit", :platforms => platforms
85 gem "mocha", "0.12.3"
85 gem "mocha", "0.12.3"
86 end
86 end
87
87
88 local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
88 local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
89 if File.exists?(local_gemfile)
89 if File.exists?(local_gemfile)
90 puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
90 puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
91 instance_eval File.read(local_gemfile)
91 instance_eval File.read(local_gemfile)
92 end
92 end
93
93
94 # Load plugins' Gemfiles
94 # Load plugins' Gemfiles
95 Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
95 Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
96 puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
96 puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
97 instance_eval File.read(file)
97 instance_eval File.read(file)
98 end
98 end
General Comments 0
You need to be logged in to leave comments. Login now