Sha256: 29fc771836adc46d6f3e2521f208cce489b2457d920fe38b596688748f91aa80

Contents?: true

Size: 388 Bytes

Versions: 53

Compression:

Stored size: 388 Bytes

Contents

require 'rails/generators'

module XapianDb
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      desc "Creates a beanstalk worker script."

      def copy_script
        copy_file "beanstalk_worker", "script/beanstalk_worker"
        chmod "script/beanstalk_worker", 0755
      end

    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
xapian_db-1.3.3 lib/generators/install_generator.rb
xapian_db-1.3.2 lib/generators/install_generator.rb
xapian_db-1.3.1 lib/generators/install_generator.rb
xapian_db-1.3 lib/generators/install_generator.rb
xapian_db-1.2.5.1 lib/generators/install_generator.rb
xapian_db-1.2.5 lib/generators/install_generator.rb
xapian_db-1.2.4.7 lib/generators/install_generator.rb
xapian_db-1.2.4.6 lib/generators/install_generator.rb
xapian_db-1.2.4.5 lib/generators/install_generator.rb
xapian_db-1.2.4.4 lib/generators/install_generator.rb
xapian_db-1.2.4.3 lib/generators/install_generator.rb
xapian_db-1.2.4.2 lib/generators/install_generator.rb
xapian_db-1.2.4.1 lib/generators/install_generator.rb
xapian_db-1.2.4 lib/generators/install_generator.rb
xapian_db-1.2.3 lib/generators/install_generator.rb
xapian_db-1.2.2.2 lib/generators/install_generator.rb
xapian_db-1.2.2.1 lib/generators/install_generator.rb
xapian_db-1.2.2 lib/generators/install_generator.rb
xapian_db-1.2.1.1 lib/generators/install_generator.rb
xapian_db-1.2.1 lib/generators/install_generator.rb