Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Alternate the example Plugin #275

Closed
ljbergmann opened this issue Jan 15, 2012 · 23 comments
Closed

Alternate the example Plugin #275

ljbergmann opened this issue Jan 15, 2012 · 23 comments

Comments

@ljbergmann
Copy link

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!

@edsonaj
Copy link

edsonaj commented Jan 15, 2012

What have you did and what you want to do?

@ljbergmann
Copy link
Author

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!

@edsonaj
Copy link

edsonaj commented Jan 15, 2012

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.

@ljbergmann
Copy link
Author

i will try it thank you for your help

@ljbergmann
Copy link
Author

i did it and change the version. when i bundel sirirproxy it is the new version but jet the plugin do not responde!

@edsonaj
Copy link

edsonaj commented Jan 15, 2012

But the speech is right? Try to put a single word in the listen_for and see if it works.

@ljbergmann
Copy link
Author

i haven´t change the listen_for ! i only change the output!

@edsonaj
Copy link

edsonaj commented Jan 15, 2012

But it is giving the old output or none?

@ljbergmann
Copy link
Author

there is no responde of the plugin
i have tested it with the siriproxy console and the iphone

@muhkuh0815
Copy link

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/ ...

@ljbergmann
Copy link
Author

In the first one

@muhkuh0815
Copy link

try to find it in the second one, but if you change it beware of siriproxy update :-)

@ljbergmann
Copy link
Author

thanks it works

@muhkuh0815
Copy link

you can also change the path in the config.yml to /user/xxx/SiriProxy/plugins/ ...

so it finds your already edited plugin.

@ljbergmann
Copy link
Author

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?

@muhkuh0815
Copy link

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 ...

@ghost
Copy link

ghost commented Jan 17, 2012

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 1.9.3-p0@SiriProxy0.3.0/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?

@edsonaj
Copy link

edsonaj commented Jan 17, 2012

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.

@ghost
Copy link

ghost commented Jan 18, 2012

Sry, which plugin folder to what Documents folder?

@edsonaj
Copy link

edsonaj commented Jan 18, 2012

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.

@shameer99
Copy link

same happen to me. i just go to config.yml in ~/.siriproxy and change path of siriproxy-example to actual path

@ic0nic
Copy link

ic0nic commented Feb 2, 2012

start a fresh install of ubuntu 10.11 follow the instructions on https://github.com/ic0nic/The-Four-Little-Pigs-Siri-Proxy

for instructions scroll down

@AndrewRayCode
Copy link

@plamoni plamoni closed this as completed Mar 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants