1ยบ add regex check, to solve full path execution (ie /home/user/owfe/
densha/script/server) by rails IDE

Index: config/openwferu_engine.rb
===================================================================
@@ -67,7 +67,7 @@
 #
 # adding the dev_data if necessary

-if $0 == "script/server" and RAILS_ENV == "development"
+if $0 =~ /script\/server/ and RAILS_ENV == "development"

   users = User.find(:all)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to