mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
make console actually work
This commit is contained in:
parent
2df1f3f33b
commit
a1506c7a16
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ 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 << " -r #{File.dirname(__FILE__) + '/../lib/therubyracer.rb'}"
|
||||
libs << " -I #{File.dirname(__FILE__) + '/../lib'} -r v8"
|
||||
puts "Loading therubyracer gem"
|
||||
exec "#{irb} #{libs} --simple-prompt"
|
Loading…
Add table
Reference in a new issue