I try to write a little ruby script, which shall load a ruby application with the command load
. That works fine.
load('script/开发者_JAVA百科console')
LoadedClass.find(1)
Is it possible?
You could write your script and then use the rails runner to run it.
精彩评论