Sha256: 39b5c3a6a7ca3a5bf59aeeec15e6b7dbdc6a1c9efd055b7427ce1e281f005736

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"

desc 'Start development Rails app'
task :web do
  app_path = 'spec/dummy'
  port     = ENV['PORT'] || 3000

  puts "Starting application in http://localhost:#{port} ... \n"

  Dir.chdir(app_path)
  exec("rails s -p #{port}")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invisible_captcha-2.3.0 Rakefile
invisible_captcha-2.2.0 Rakefile
invisible_captcha-2.1.0 Rakefile