Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed rubygems and gem references per recommendations in http://web…

…log.rubyonrails.org/2009/9/1/gem-packaging-best-practices.

If you get 'file not found' errors while testing, simply add rubygems to your environment:

RUBYOPT="rubygems"
export RUBYOPT
  • Loading branch information...
commit 40295bcb74e6c760e22277f66c8b788c010a37f4 1 parent f69eeb9
Philip Misiowiec authored September 03, 2009
6  Rakefile
... ...
@@ -1,4 +1,3 @@
1  
-require 'rubygems'
2 1
 require 'rake'
3 2
 
4 3
 begin
@@ -11,8 +10,9 @@ begin
11 10
     gem.homepage = "http://github.com/webficient/rack-coderay"
12 11
     gem.authors = ["Phil Misiowiec"]
13 12
     gem.files = FileList['lib/**/*.rb', 'resources/*']
14  
-    gem.add_dependency 'coderay'
15  
-    gem.add_dependency 'hpricot'
  13
+    gem.add_dependency 'coderay', '>= 0.8.312'
  14
+    gem.add_dependency 'hpricot', '>= 0.8.1'
  15
+    gem.add_dependency 'rack', '>= 1.0.0'
16 16
   end
17 17
 
18 18
 rescue LoadError
3  test/test_helper.rb
... ...
@@ -1,6 +1,3 @@
1  
-$:.push File.join(File.dirname(__FILE__), '..', 'lib')
2  
-
3  
-require 'rubygems'
4 1
 require 'test/unit'
5 2
 require 'shoulda'
6 3
 require 'rack/coderay'

0 notes on commit 40295bc

Please sign in to comment.
Something went wrong with that request. Please try again.