Permalink
Browse files

No longer need to reference mysql2 from git

  • Loading branch information...
1 parent 169ae75 commit e99c1e3a3bd231a11cb2e2d5062dd1cdbcda61e2 @dhh dhh committed May 5, 2011
Showing with 1 addition and 9 deletions.
  1. +1 −9 railties/lib/rails/generators/app_base.rb
@@ -117,15 +117,7 @@ def set_default_accessors!
end
def database_gemfile_entry
- entry = options[:skip_active_record] ? "" : "gem '#{gem_for_database}'"
- if options[:database] == 'mysql'
- if options.dev? || options.edge?
- entry += ", :git => 'git://github.com/brianmario/mysql2.git'"
- else
- entry += "\n# gem 'mysql2', :git => 'git://github.com/brianmario/mysql2.git'"
- end
- end
- entry + "\n"
+ options[:skip_active_record] ? "" : "gem '#{gem_for_database}'\n"
end
def rails_gemfile_entry

0 comments on commit e99c1e3

Please sign in to comment.