Ohad Levy has uploaded a new change for review. Change subject: added Gemfile ......................................................................
added Gemfile Change-Id: I43407ff479d1f6ce605f8e1c4ebff17a688e4f97 Signed-off-by: Ohad Levy <ohadl...@gmail.com> --- A ruby/Gemfile A ruby/Gemfile.lock M ruby/webhandler.rb 3 files changed, 32 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/samples-portals refs/changes/61/11561/1 diff --git a/ruby/Gemfile b/ruby/Gemfile new file mode 100644 index 0000000..0526d0d --- /dev/null +++ b/ruby/Gemfile @@ -0,0 +1,2 @@ +gem "sinatra" +gem "rbovirt" \ No newline at end of file diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock new file mode 100644 index 0000000..1209f1b --- /dev/null +++ b/ruby/Gemfile.lock @@ -0,0 +1,24 @@ +GEM + specs: + mime-types (1.19) + nokogiri (1.5.6) + rack (1.4.4) + rack-protection (1.3.2) + rack + rbovirt (0.0.16) + nokogiri + rest-client + rest-client (1.6.7) + mime-types (>= 1.16) + sinatra (1.3.3) + rack (~> 1.3, >= 1.3.6) + rack-protection (~> 1.2) + tilt (~> 1.3, >= 1.3.3) + tilt (1.3.3) + +PLATFORMS + ruby + +DEPENDENCIES + rbovirt + sinatra diff --git a/ruby/webhandler.rb b/ruby/webhandler.rb index d90f00c..99b51c1 100755 --- a/ruby/webhandler.rb +++ b/ruby/webhandler.rb @@ -1,6 +1,10 @@ -#!/usr/bin/ruby -rubygems +#!/usr/bin/env ruby -require 'sinatra' +require 'rubygems' +require 'bundler' + +Bundler.require + require 'yaml' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '.' )) -- To view, visit http://gerrit.ovirt.org/11561 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I43407ff479d1f6ce605f8e1c4ebff17a688e4f97 Gerrit-PatchSet: 1 Gerrit-Project: samples-portals Gerrit-Branch: master Gerrit-Owner: Ohad Levy <ohadl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches