Skip to content

Commit 875b575

Browse files
committedApr 23, 2015
Specify node_modules path when running cruby tests
aka I’m dumb :(
1 parent cb8c94f commit 875b575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tasks/testing.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ task :cruby_tests do
9191

9292
sh 'RUBYOPT="-rbundler/setup" '\
9393
"bin/opal #{include_paths} #{stubs} -rnodejs -Dwarning -A #{filename} -c > tmp/cruby_tests.js"
94-
sh 'node tmp/cruby_tests.js'
94+
sh 'NODE_PATH=stdlib/nodejs/node_modules node tmp/cruby_tests.js'
9595
end
9696

9797
task :mspec => [:mspec_node, :mspec_phantom]

0 commit comments

Comments
 (0)
Please sign in to comment.