Skip to content

Commit

Permalink
- Clean up example.rb and force removal of ~/.ruby_inline
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/RubyInline/dev/": change = 5529]
  • Loading branch information
zenspider committed Dec 10, 2009
1 parent dabcc7f commit c592d5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/local/bin/ruby -w

begin
require 'rubygems'
rescue LoadError
$: << 'lib'
end
require 'rubygems'
$:.unshift 'lib'
require 'inline'

require 'fileutils'
FileUtils.rm_rf File.expand_path("~/.ruby_inline")

class MyTest

def factorial(n)
Expand Down

0 comments on commit c592d5a

Please sign in to comment.