method

rails_gemfile_entry

rails_gemfile_entry()
protected

No documentation available.

# 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'            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'            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