Sha256: 7dbbd3a94a2a703a44cc1845500afd8ab9fc294cd0adb0b68624c9908c326471

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development'
ENV['NODE_ENV'] ||= ENV['RACK_ENV'] || 'development'

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', Pathname.new(__dir__).realpath)

require 'rubygems'
require_relative '../config/application'

require 'viter'
require 'viter/dev_server_runner'
Viter::Exporter.export
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
  Viter::DevServerRunner.run(ARGV)
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rails_audit-1.0.4 test/dummy/bin/vite
rails_org-0.0.1 test/dummy/bin/vite