Permalink
Browse files

Add "." to the load path at the point where it is currently necessary

I don't think it belongs in mspec scripts; we may want to
avoid it entirely.
  • Loading branch information...
1 parent 176f662 commit 3794477247efdefd265fda4c70a742fbb751ed78 @jfirebaugh jfirebaugh committed Mar 15, 2012
Showing with 2 additions and 2 deletions.
  1. +0 −1 mspec/bin/mspec-ci
  2. +0 −1 mspec/bin/mspec-run
  3. +2 −0 spec/default.mspec
View
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
$:.unshift File.expand_path('../../lib', __FILE__)
-$:.unshift "."
require 'mspec/commands/mspec-ci'
require 'mspec'
View
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
$:.unshift File.expand_path('../../lib', __FILE__)
-$:.unshift '.'
require 'mspec/commands/mspec-run'
require 'mspec'
View
@@ -1,4 +1,6 @@
# vim: filetype=ruby
+
+$:.unshift "."
require 'spec/custom/mspec'
class MSpecScript

0 comments on commit 3794477

Please sign in to comment.