method

enable_image_processing_gem

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: InstallGenerator
enable_image_processing_gem() public

No documentation

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

Hide source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 60
      def enable_image_processing_gem
        if (gemfile_path = Pathname(destination_root).join("Gemfile")).exist?
          say "Ensure image_processing gem has been enabled so image uploads will work (remember to bundle!)"
          uncomment_lines gemfile_path, /gem "image_processing"/
        end
      end
Register or log in to add new notes.