Alternate the example Plugin
Hey i have tried to alternate the example-plugin but nothing changes! I restated the server, bundeled the server new and make the rake file in the plugin folder and boundeld the plugin new, but nothing change. what i have to do!
What have you did and what you want to do?
First i change the answer of siri in the example-plugin, after that i use the command rake install in the example-plugin after that i bundeled the siriproxy new. that was all what i done. After a restart of the proxy there was the old answer not the new!
You don't have to rake install the plugin, just to bundle the siriproxy e start it again. Try to change the version of the plugin in the gemspec file, so when you bundle you can see if it's the new version or not, or copy the folder and create a "new" plugin, but for that you should edit de config file in the ˜/.siriproxy folder.
i will try it thank you for your help
i did it and change the version. when i bundel sirirproxy it is the new version but jet the plugin do not responde!
But the speech is right? Try to put a single word in the listen_for and see if it works.
i haven´t change the listen_for ! i only change the output!
But it is giving the old output or none?
there is no responde of the plugin i have tested it with the siriproxy console and the iphone
in what directory have you changed the file ? /user/xxx/SiriProxy/plugins/ ...
or user/xxx/.rvm/gems/ruby 1.9.3/gems/siriproxy 0.3.0/plugins/ ...
In the first one
try to find it in the second one, but if you change it beware of siriproxy update :-)
thanks it works
you can also change the path in the config.yml to /user/xxx/SiriProxy/plugins/ ...
so it finds your already edited plugin.
Heah that is a good idea! I have a Little Question why er have in .rvm and in the Siriproxy Folder the Same Things why it isnt in one?
not sure but with the initial siriproxy release it was in user/siriproxy, then in the latest version when gems where used it moved there, probably has to do with ruby itself or rvm ...
Hello you two.
I did use the westbear proxy, but I think that doesn't matter to my problem.
So, even if I change the "config.yml" in "~/.siriproxy", my "SiriProxy" would not be updated with my changed siriproxy-example. I've changed the Version in "siriproxy-example.gemspec" and as i ran bundle in ~/SiriProxy, the command line told me it is using Version 0.0.2 of siriproxy-bundle from "./SiriProxy/Plugins/".
No matter to that message the Output didn't change to what i edited for "test siri proxy"...
Finally changes in "user/xxx/.rvm/gems/ruby [email protected]/gems/siriproxy 0.3.0/plugins/siriproxy-example/siriproxy-example.rb did" changed something after I ran "bundle" in "./SiriProxy"
So, what did or am I doing wrong?
Try to copy the plugin folder to your Documents folder for example and change the path in the config.yml file, bundle (inside ~/SiriProxy) and run it again.
Sry, which plugin folder to what Documents folder?
Copy any plugin folder that you have modified to any other folder on your computer and change the path in config.yml file (It should be the only plugin in the config.yml), after just bundle and test (you can also change the listen_for to something more easy to say, I used to test it with "You don't say" phrase).
Or delete both siriproxy folders and reinstall everything.