File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
group :development do
9
9
gem "bundler" , "~> 1.0.0"
10
10
gem "rake" , "~> 0.9.2"
11
- gem "RedCloth"
11
+ gem "RedCloth" , RUBY_PLATFORM == 'java' ? "= 4.2.7" : "~> 4.0.3"
12
12
gem "term-ansicolor"
13
13
gem "shoulda-context" , "= 1.0.0.beta1" if RUBY_VERSION >= '1.8.7'
14
14
gem "json" unless RUBY_VERSION >= '1.9.1'
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class TestCodeRayExecutable < Test::Unit::TestCase
15
15
ROOT_DIR = Pathname . new ( File . dirname ( __FILE__ ) ) + '..' + '..'
16
16
EXECUTABLE = ROOT_DIR + 'bin' + 'coderay'
17
17
EXE_COMMAND =
18
- if RUBY_PLATFORM === 'java' && `ruby --ng -e ''` && $?. success?
18
+ if RUBY_PLATFORM === 'java' && `ruby --ng -e '' 2> /dev/null ` && $?. success?
19
19
# use Nailgun
20
20
'ruby --ng -wI%s %s'
21
21
else
You can’t perform that action at this time.
0 commit comments