Permalink
Browse files

switch to gemfile

  • Loading branch information...
1 parent 62f590c commit a5dde4cfb0bf9e9d72ea690a16e41b91301fce89 oren committed Feb 2, 2010
Showing with 26 additions and 5 deletions.
  1. +0 −4 .gems
  2. +2 −1 .gitignore
  3. +6 −0 Gemfile
  4. +3 −0 bin/rackup
  5. +3 −0 bin/rdiscount
  6. +3 −0 bin/restclient
  7. +3 −0 bin/sunspot-configure-solr
  8. +3 −0 bin/sunspot-solr
  9. +3 −0 config.ru
View
4 .gems
@@ -1,4 +0,0 @@
-rdiscount
-rest-client
-sunspot
-
View
3 .gitignore
@@ -1,4 +1,5 @@
.cookies.lwp
.DS_Store
/tmp
-*.pid
+*.pid
+vendor/gems
View
6 Gemfile
@@ -0,0 +1,6 @@
+gem 'rack', '1.0.1'
+gem 'sinatra', '0.9.4'
+gem 'rdiscount', '1.3.5'
+gem 'rest-client', '1.2.0'
+gem 'sunspot', '0.10.8'
+
View
3 bin/rackup
@@ -0,0 +1,3 @@
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
+load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rack-1.0.1/bin/rackup"))
View
3 bin/rdiscount
@@ -0,0 +1,3 @@
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
+load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rdiscount-1.3.5/bin/rdiscount"))
View
3 bin/restclient
@@ -0,0 +1,3 @@
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
+load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rest-client-1.2.0/bin/restclient"))
View
3 bin/sunspot-configure-solr
@@ -0,0 +1,3 @@
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
+load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/sunspot-0.10.8/bin/sunspot-configure-solr"))
View
3 bin/sunspot-solr
@@ -0,0 +1,3 @@
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
+load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/sunspot-0.10.8/bin/sunspot-solr"))
View
3 config.ru
@@ -1,3 +1,6 @@
+require File.dirname(__FILE__) + '/vendor/gems/environment'
+Bundler.require_env
+
require 'docs'
run Sinatra::Application

0 comments on commit a5dde4c

Please sign in to comment.