Sha256: 4e00237a392bce082ffdc406dd16f31b1db6e2f6b6204bcb8a6580285c588be4

Contents?: true

Size: 438 Bytes

Versions: 48

Compression:

Stored size: 438 Bytes

Contents

#!/usr/bin/env ruby
# File: script/console
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'

libs =  " -r irb/completion"
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
libs <<  " -I #{File.dirname(__FILE__) + '/../lib'} -r v8"
puts "Revving Up The Ruby Racer!"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
therubyracer-0.8.0 script/console
therubyracer-0.8.0.pre3 script/console
therubyracer-0.8.0.pre2 script/console
therubyracer-0.8.0.pre script/console
therubyracer-0.7.5 script/console
therubyracer-0.7.4 script/console
therubyracer-0.7.3 script/console
therubyracer-0.7.2 script/console
therubyracer-0.7.2.pre script/console
therubyracer-0.7.1 script/console
therubyracer-0.7.1.pre script/console
therubyracer-0.7.0 script/console
therubyracer-0.7.0.pre script/console
therubyracer-0.6.3 script/console
therubyracer-0.6.2 script/console
therubyracer-0.6.1 script/console
therubyracer-0.6.0 script/console
therubyracer-0.5.5 script/console
therubyracer-0.5.4 script/console
therubyracer-0.5.3 script/console