config/boot.rb in smalruby-editor-0.0.5 vs config/boot.rb in smalruby-editor-0.0.6

- old
+ new

@@ -1,9 +1,12 @@ # Set up gems listed in the Gemfile. if ENV['RAILS_ENV'] == 'standalone' + require 'pathname' path = Pathname('../../smalruby-editor.gemspec').expand_path(__FILE__) spec = Dir.chdir(path.dirname.to_s) { + # rubocop:disable Eval eval(path.read, TOPLEVEL_BINDING, path.to_s) + # rubocop:enable Eval } spec.runtime_dependencies.each do |spec_dep| require spec_dep.name end else