ruby on rails - Getting error when pushing notification after deploy on linux -


i'm getting error when sending notification using rpush gem after deploying on linux server while notification data saved table.

on local pushing notification rpush push command on linux command not found please me sort out problem.

rpush not being found in path (an environment variable contains file paths executable files). can confirm which command.

which rpush

the fact returns nothing tells not in path. if in path return file path of executable file runs when enter command terminal.

prior adding path, check installed.

you can add path opening ~/.profile or ~/.bash_profile or ~/.bashrc (where squiggle ~ home directory) , entering:

export path=$path:/path/to/rpush/executable

then reload terminal or type source ~/.profile example.

for documentation on paths there linux info site, , bash profiles can check out this page.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -