Sha256: a66362aa372586b6e140ec7d9544f9b820653ffa54866ad30c5d6956f7d17d0d

Contents?: true

Size: 430 Bytes

Versions: 11

Compression:

Stored size: 430 Bytes

Contents

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

libs =  " -r irb/completion"
RDF = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "rdf", "lib"))
libs << " -I #{RDF}" if File.directory?(RDF)
libs <<  " -r #{File.join(File.expand_path(File.dirname(__FILE__)), "..", "lib", "rdf", "rdfa.rb")}"
puts "Loading rdf-rdfa gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rdf-rdfa-0.3.4.2 script/console
rdf-rdfa-0.3.4.1 script/console
rdf-rdfa-0.3.4 script/console
rdf-rdfa-0.3.3.3 script/console
rdf-rdfa-0.3.3.2 script/console
rdf-rdfa-0.3.3.1 script/console
rdf-rdfa-0.3.3 script/console
rdf-rdfa-0.3.1.2 script/console
rdf-rdfa-0.3.1.1 script/console
rdf-rdfa-0.3.0 script/console
rdf-rdfa-0.2.2 script/console