|
9 | 9 | #see http://blog.zenspider.com/2009/04/parsetree-eol.html
|
10 | 10 | #
|
11 | 11 | #} if RUBY_VERSION =~/^1.9/
|
12 |
| - |
13 |
| -raise %{ |
14 |
| - |
15 |
| -You appear to be using ruby 1.8.7 and you don't have |
16 |
| -an INLINEDIR environment variable set to a valid directory. |
17 |
| -
|
18 |
| -ParseTree (used by "from_callable_object") uses RubyInline. |
19 |
| -RubyInline requires that the INLINEDIR environment variable point |
20 |
| -to a directory. The easiest thing to do is to just go |
21 |
| -create a directory somewhere - let's say, ~/inlinedir, |
22 |
| -and point the INLINEDIR at it. In bash this would be: |
23 |
| -
|
24 |
| -mkdir ~/inlinedir |
25 |
| -export INLINEDIR=~/inlinedir |
26 |
| -
|
27 |
| -You'll probably want to put this in .bash_profile too. |
28 |
| -
|
29 |
| -Sorry for the inconvenience. I hope the value you'll |
30 |
| -get out of "from_callable_object" makes it all worth it. |
31 |
| -
|
32 |
| -} if RUBY_VERSION=="1.8.7" && !ENV["INLINEDIR"] |
| 12 | +# |
| 13 | +#raise %{ |
| 14 | +# |
| 15 | +#You appear to be using ruby 1.8.7 and you don't have |
| 16 | +#an INLINEDIR environment variable set to a valid directory. |
| 17 | +# |
| 18 | +#ParseTree (used by "from_callable_object") uses RubyInline. |
| 19 | +#RubyInline requires that the INLINEDIR environment variable point |
| 20 | +#to a directory. The easiest thing to do is to just go |
| 21 | +#create a directory somewhere - let's say, ~/inlinedir, |
| 22 | +#and point the INLINEDIR at it. In bash this would be: |
| 23 | +# |
| 24 | +#mkdir ~/inlinedir |
| 25 | +#export INLINEDIR=~/inlinedir |
| 26 | +# |
| 27 | +#You'll probably want to put this in .bash_profile too. |
| 28 | +# |
| 29 | +#Sorry for the inconvenience. I hope the value you'll |
| 30 | +#get out of "from_callable_object" makes it all worth it. |
| 31 | +# |
| 32 | +#} if RUBY_VERSION=="1.8.7" && !ENV["INLINEDIR"] |
33 | 33 | #Procs and lambdas are "callable objects"
|
34 | 34 |
|
35 | 35 | module Predicated
|
|
0 commit comments