Sha256: 29043a80a56141f49f52949d2c1aa9270f7754785f10b7f8ebb207ced98a5971

Contents?: true

Size: 299 Bytes

Versions: 16

Compression:

Stored size: 299 Bytes

Contents

root = ENV.fetch('RAILS_ROOT')

boot_file = File.expand_path('config/boot.rb', root)
require boot_file

require_relative 'iruby_kernel_extention'
JupyterOnRails::IRubyKernelExtention.root = root

require 'iruby'
module IRuby
  class Kernel
    prepend JupyterOnRails::IRubyKernelExtention
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jupyter_on_rails-0.6.0 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.6 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.5 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.4 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.3 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.2 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.1 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.5.0 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.4.2 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.4.1 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.4.0 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.3.4 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.3.3 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.3.2 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.3.1 lib/jupyter_on_rails/boot.rb
jupyter_on_rails-0.2.0 lib/jupyter_on_rails/boot.rb