add gem paths to opal to load everything correctly
This commit is contained in:
parent
6668eeac55
commit
6c26c0b538
@ -1,13 +1,18 @@
|
||||
# app.rb is used to configure your app. This code is only run on the server,
|
||||
# then any config options in config.public are passed to the client as well.
|
||||
|
||||
["parslet", "salama-object-file", "salama-reader","salama" ].each do |g|
|
||||
lib_path = Gem.loaded_specs[g].full_gem_path + '/lib'
|
||||
Opal.append_path(lib_path)
|
||||
end
|
||||
|
||||
Volt.configure do |config|
|
||||
# Setup your global app config here.
|
||||
|
||||
#######################################
|
||||
# Basic App Info (stuff you should set)
|
||||
#######################################
|
||||
config.domain = 'salama-debugger.com'
|
||||
config.domain = 'salama-vm.org'
|
||||
config.app_name = 'Salama-debugger'
|
||||
config.mailer.from = 'Salama-debugger <no-reply@salama-debugger.com>'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user