Sha256: f53dce5a76e6de98ae732b65d09868779c5defa53983806d97fc4bfc92b83d14
Contents?: true
Size: 596 Bytes
Versions: 14
Compression:
Stored size: 596 Bytes
Contents
# 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 } exclude_gems = %w(therubyracer) spec.runtime_dependencies.each do |s| require s.name unless exclude_gems.include?(s.name) end else ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) end
Version data entries
14 entries across 14 versions & 1 rubygems