Skip to content

Commit

Permalink
requireが必要だった
Browse files Browse the repository at this point in the history
  • Loading branch information
jiikko committed Jan 20, 2024
1 parent 179f062 commit 9034ba9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project_template/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
# ProconBypassMan::ExternalInput::Channels::SerialPortChannel.new(device_path: '/dev/serial0', baud_rate: 9600),
# ProconBypassMan::ExternalInput::Channels::TCPIPChannel.new(port: 9000),
# ]
else
require 'bundler'
Bundler.require(:default)
end

ProconBypassMan.run(setting_path: "/usr/share/pbm/current/setting.yml")
3 changes: 3 additions & 0 deletions project_template/app.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ ProconBypassMan.configure do |config|
# ProconBypassMan::ExternalInput::Channels::SerialPortChannel.new(device_path: '/dev/serial0', baud_rate: 9600),
# ProconBypassMan::ExternalInput::Channels::TCPIPChannel.new(port: 9000),
# ]
else
require 'bundler'
Bundler.require(:default)
end

ProconBypassMan.run(setting_path: "/usr/share/pbm/current/setting.yml")

0 comments on commit 9034ba9

Please sign in to comment.