Skip to content

Commit

Permalink
Adding Jruby-openssl in gemfile for 3-0-stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Jun 11, 2011
1 parent bcd9145 commit 7f4bf01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/generators/rails/app/templates/Gemfile
Expand Up @@ -7,6 +7,7 @@ gem 'rails', :git => 'git://github.com/rails/rails.git'
<%- else -%>
gem 'rails', '<%= Rails::VERSION::STRING %>'
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
<%- end -%>
Expand Down
3 changes: 3 additions & 0 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -169,6 +169,9 @@ def test_config_jdbcmysql_database
run_generator([destination_root, "-d", "jdbcmysql"])
assert_file "config/database.yml", /jdbcmysql/
assert_file "Gemfile", /^gem\s+["']activerecord-jdbcmysql-adapter["']$/
# TODO: When the JRuby guys merge jruby-openssl in
# jruby this will be removed
assert_file "Gemfile", /^gem\s+["']jruby-openssl["']$/ if defined?(JRUBY_VERSION)
end

def test_config_jdbcsqlite3_database
Expand Down

0 comments on commit 7f4bf01

Please sign in to comment.