Nephos/NephosRubyServer

View on GitHub
nephos/bin/nserver

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

if File.exist? "Gemfile.lock" and File.read("Gemfile.lock").include? "nephos-server"
  exec("bundle exec nephos-server #{ARGV.join ' '}")
else
  exec("nephos-server #{ARGV.join ' '}")
end