Skip to content

Commit

Permalink
JariBakken: Hack to make Ruby specs run on Android.
Browse files Browse the repository at this point in the history
r14463
  • Loading branch information
jarib committed Oct 31, 2011
1 parent 0853406 commit 02a4160
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def unguarded?
end

def url_for(filename)
app_server.where_is filename
url = app_server.where_is filename
url.sub!("127.0.0.1", "10.0.2.2") if browser == :android

url
end

private
Expand Down

0 comments on commit 02a4160

Please sign in to comment.