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}'.strip_heredoc
        elsif options.edge?
                      gem 'rails',     :git => 'git://github.com/rails/rails.git'.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.