Sha256: f5b1e0b4e222550d3d51ed6e5b50f1cc7c273e565bd753f63020d442417b3d2a
Contents?: true
Size: 1004 Bytes
Versions: 1
Compression:
Stored size: 1004 Bytes
Contents
#!/usr/bin/env ruby # # This file was generated by Bundler. # # The application 'designshelld' is installed as part of a gem, and # this file is here to facilitate running it. # # This was then hacked so that it could be called direct from authorized_keys command=... #require 'pathname' # ##ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",Pathname.new(__FILE__).realpath) # was before rubygems #require 'rubygems' #ds_dir = (spec = Gem::Specification.find_by_name('designshell')) && spec.gem_dir #ENV['BUNDLE_GEMFILE'] = File.expand_path("Gemfile",Pathname.new(ds_dir).realpath) #require 'bundler/setup' # ##load Gem.bin_path('designshell', 'designshelld') require 'rubygems' gem 'designshell' require 'designshellserver' #trap("SIGHUP") { abort } context = DesignShell::Context.new({ :argv=>ARGV.clone, :env=>ENV.clone, :stdout=>$stdout, :stdin=>$stdin, :stderr=>$stderr, :credentials=>Credentials.new('DesignShellServer') }) core = DesignShellServer::Core.new(context) core.run
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
designshell-0.0.7 | bin/designshelld |