rails_gemfile_entry() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 137
      def rails_gemfile_entry
        if options.dev?
                      gem 'rails',     :path => '#{Rails::Generators::RAILS_DEV_PATH}'            gem 'journey',   :git => 'git://github.com/rails/journey.git', :branch => '1-0-stable'            gem 'arel',      :git => 'git://github.com/rails/arel.git', :branch => '3-0-stable'.strip_heredoc
        elsif options.edge?
                      gem 'rails',     :git => 'git://github.com/rails/rails.git', :branch => '3-2-stable'            gem 'journey',   :git => 'git://github.com/rails/journey.git', :branch => '1-0-stable'            gem 'arel',      :git => 'git://github.com/rails/arel.git', :branch => '3-0-stable'.strip_heredoc
        else
                      gem 'rails', '#{Rails::VERSION::STRING}'            # Bundle edge Rails instead:            # gem 'rails', :git => 'git://github.com/rails/rails.git'.strip_heredoc
        end
      end
Register or log in to add new notes.