diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index eef8828..6a789f3 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -38,5 +38,6 @@ jobs: - name: Run RSpecs working-directory: ./ruby run: | + pip install regex bundle install --with=jsexec bundle exec rspec diff --git a/lib/interscript/compiler/python.rb b/lib/interscript/compiler/python.rb index 065862f..1372209 100644 --- a/lib/interscript/compiler/python.rb +++ b/lib/interscript/compiler/python.rb @@ -308,6 +308,7 @@ def load self.class.ctx = PyCall.import_module("interscript") end #puts @code + Dir.mkdir("#{python_src_path}/interscript/maps") rescue nil File.write("#{python_src_path}/interscript/maps/#{@map.name}.py", @code) self.class.ctx.load_map(@map.name)