mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 19:52:18 -05:00
Generated with railsnew.io: `rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
19 lines
419 B
Ruby
Executable File
19 lines
419 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
|
|
ENV["NODE_ENV"] ||= "development"
|
|
|
|
require "pathname"
|
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
Pathname.new(__FILE__).realpath)
|
|
|
|
require "bundler/setup"
|
|
|
|
require "webpacker"
|
|
require "webpacker/dev_server_runner"
|
|
|
|
APP_ROOT = File.expand_path("..", __dir__)
|
|
Dir.chdir(APP_ROOT) do
|
|
Webpacker::DevServerRunner.run(ARGV)
|
|
end
|