mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
10 lines
No EOL
434 B
Ruby
Executable file
10 lines
No EOL
434 B
Ruby
Executable file
#!/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 << " -r #{File.dirname(__FILE__) + '/../lib/webcat.rb'}"
|
|
puts "Loading webcat gem"
|
|
exec "#{irb} #{libs} --simple-prompt" |