[Gary] profile_array $LOAD_PATH, Gemfile tweaks
This commit is contained in:
parent
64c87e93a3
commit
52cbaa689f
4
Gemfile
4
Gemfile
@ -5,7 +5,7 @@ group :development, :test do
|
|||||||
gem "bundler"
|
gem "bundler"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "json"
|
gem "json"
|
||||||
gem "bson_ext" unless RUBY_PLATFORM == "java"
|
gem "bson_ext" unless RUBY_PLATFORM =~ /java/
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
gem "git"
|
gem "git"
|
||||||
@ -15,7 +15,7 @@ group :development, :test do
|
|||||||
gem "shoulda"
|
gem "shoulda"
|
||||||
gem "test-unit"
|
gem "test-unit"
|
||||||
gem "ci_reporter"
|
gem "ci_reporter"
|
||||||
gem "ruby-prof" unless RUBY_PLATFORM == "java"
|
gem "ruby-prof" unless RUBY_PLATFORM =~ /java/
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
platforms :jruby do
|
platforms :jruby do
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
$LOAD_PATH[0,0] = File.join(File.dirname(__FILE__), '..', 'lib')
|
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))
|
||||||
#
|
|
||||||
# Note: Ruby 1.9 is faster than 1.8, as expected.
|
|
||||||
# This suite will be run against the installed version of ruby-mongo-driver.
|
|
||||||
# The c-extension, bson_ext, will be used if installed.
|
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'mongo'
|
require 'mongo'
|
||||||
|
Loading…
Reference in New Issue
Block a user