Take the 2008 Git User's Survey and help out! [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
Search Repo:
better startup.rb handling
automatthew (author)
Thu May 08 18:42:44 -0700 2008
commit  43bd31afdceaeb667666c3e2fdb882283464562e
tree    43887c91b8d7173ab2e09a752321bd5aba8b4dc8
parent  cb688bdcfa13fd339a3399daccf0813b5e1f7eac
...
1
2
3
4
5
6
 
7
8
9
10
...
 
 
 
 
1
 
2
3
4
5
6
0
@@ -1,9 +1,5 @@
0
-unless defined?(WAVES)
0
- WAVES = ENV['WAVES']
0
-end
0
-
0
 lambda {
0
- waves = ( WAVES || File.join(File.dirname(__FILE__), 'waves') )
0
+ waves = ( ( WAVES if defined? WAVES ) || ENV['WAVES'] || File.join(File.dirname(__FILE__), 'waves') )
0
   $:.unshift(File.join( waves, "lib" )) if File.exist? waves
0
 }.call
0
 require 'waves'
0
\ No newline at end of file

Comments

    No one has commented yet.