Skip to content

Commit

Permalink
Add back RUBY_PLATFORM for linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
wasnotrice committed Oct 7, 2011
1 parent 9061651 commit 1475d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoes/world.c
Expand Up @@ -190,7 +190,7 @@ shoes_start(char *path, char *uri)
SHOES_BUFSIZE,
"begin;"
"DIR = File.expand_path(File.dirname(%%q<%s>));"
"$:.replace([DIR+'/ruby/lib/'+ENV['SHOES_RUBY_ARCH'], DIR+'/ruby/lib', DIR+'/lib', '.']);"
"$:.replace([DIR+'/ruby/lib/'+(ENV['SHOES_RUBY_ARCH'] || RUBY_PLATFORM), DIR+'/ruby/lib', DIR+'/lib', '.']);"
"require 'shoes';"
"DIR;"
"rescue Object => e;"
Expand Down

0 comments on commit 1475d31

Please sign in to comment.