Providing start files both with .rb extension (for existing /init.d scripts and Win32 double-clicks).

and without (for gem distribution)
This commit is contained in:
Alexey Verkhovsky 2005-01-16 02:08:36 +00:00
parent 88b3a1ba08
commit 5daf352e68
2 changed files with 7 additions and 0 deletions

View file

@ -1,2 +1,6 @@
#!/usr/bin/ruby #!/usr/bin/ruby
# Executable file for a gem
# must be same as ./instiki.rb
load File.dirname(__FILE__) + "/script/server" load File.dirname(__FILE__) + "/script/server"

3
instiki.rb Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/ruby
load File.dirname(__FILE__) + "/script/server"