[asterisk-users] Install Adhearsion on Debian
Hi, I'm giving Adhearsion a try on a Debian Squeeze. I read here (https://github.com/adhearsion/adhearsion/wiki/Getting-Started) that the command sudo gem install adhearsion should automatically add the ahn command to your system. On mine I can't run ahn without specifying full path (/var/lib/gems/1.8/bin/ahn). Did I miss something ? Regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Install Adhearsion on Debian
Was your PATH variable modified to add /var/lib/gems/1.8/bin perhaps? If so, you would need to start a new terminal session if it was loaded in .bashrc (if you're using bash) in your home directly (or log out of your existing session and log back in). -- John Knight Classic City Telco LLC Email: j...@classiccitytelco.com | Main: (706) 995-0200 Direct: (706) 995-0201 | Mobile: (706) 255-9203 On 11/25/2011 12:19 PM, Olivier wrote: Hi, I'm giving Adhearsion a try on a Debian Squeeze. I read here (https://github.com/adhearsion/adhearsion/wiki/Getting-Started) that the command "sudo gem install adhearsion" should "automatically add the ahn command to your system". On mine I can't run ahn without specifying full path (/var/lib/gems/1.8/bin/ahn). Did I miss something ? Regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Install Adhearsion on Debian
2011/11/25 John Knight j...@classiccitytelco.com Was your PATH variable modified to add /var/lib/gems/1.8/bin perhaps? No I didn't. I would have thought that rubygems installation should car of this (adding installed gems into users paths). As I'm new to Ruby, I wondered if I forgot something (before or after gem install adhearsion). To be more specific, I followed instructions from https://github.com/adhearsion/adhearsion/wiki/Getting-Started, using System Ruby option and skipping gem update --system Is it standard to add a path for each gem installed ? If so, you would need to start a new terminal session if it was loaded in .bashrc (if you're using bash) in your home directly (or log out of your existing session and log back in). -- http://www.classiccitytelco.com *John Knight* Classic City Telco LLC *Email:* j...@classiccitytelco.com | *Main:* (706) 995-0200 *Direct:* (706) 995-0201 | *Mobile:* (706) 255-9203 On 11/25/2011 12:19 PM, Olivier wrote: Hi, I'm giving Adhearsion a try on a Debian Squeeze. I read here (https://github.com/adhearsion/adhearsion/wiki/Getting-Started) that the command sudo gem install adhearsion should automatically add the ahn command to your system. On mine I can't run ahn without specifying full path (/var/lib/gems/1.8/bin/ahn). Did I miss something ? Regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users logo2.jpg-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Install Adhearsion on Debian [SOLVED]
2011/11/25 Olivier oza_4...@yahoo.fr 2011/11/25 John Knight j...@classiccitytelco.com Was your PATH variable modified to add /var/lib/gems/1.8/bin perhaps? No I didn't. I would have thought that rubygems installation should car of this (adding installed gems into users paths). As I'm new to Ruby, I wondered if I forgot something (before or after gem install adhearsion). To be more specific, I followed instructions from https://github.com/adhearsion/adhearsion/wiki/Getting-Started, using System Ruby option and skipping gem update --system Is it standard to add a path for each gem installed ? Replying to myself, it seems this question has already been debated (see: http://stackoverflow.com/questions/5616156/rubygems-doesnt-add-var-lib-gems-1-8-bin-to-path ). Adding in config lines such as export PATH=/var/lib/gems/1.8/bin:PATH is left to sysadmins on a case by case basis. I can now understand the reasons behind. Thanks for replying. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users