File: Rakefile

package info (click to toggle)
ruby-invisible-captcha 2.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: ruby: 717; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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