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 133
      def rails_gemfile_entry
        if options.dev?
                      gem 'rails',     path: '#{Rails::Generators::RAILS_DEV_PATH}'            gem 'arel',      github: 'rails/arel'.strip_heredoc
        elsif options.edge?
                      gem 'rails',     github: 'rails/rails'            gem 'arel',      github: 'rails/arel'.strip_heredoc
        else
                      # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'            gem 'rails', '#{Rails::VERSION::STRING}'.strip_heredoc
        end
      end
Register or log in to add new notes.