Tag Archives: slanger

Slanger with Ubuntu 12.04

I just got Slanger working (finally) with Ubuntu 12.04. Key notes: Followed the guide here: https://github.com/tsimbalar/play-pusher-slanger/blob/master/README.md Slanger’s homepage on github also has some good info Redis had to be running. apt-get install redis and then service redis restart

Posted in Tech Tips | Tagged | Leave a comment

Install Slanger on Ubuntu 12

Slanger is an open source server implementation of the Pusher protocol written in Ruby. I wanted to install it on Ubuntu 12 but hit a few snags, so here’s how I got it working. First, it seems pretty imperative that you have a good ruby version manager (rvm) tool available. On Mac OS X I use rbenv but on Ubuntu I think the best one is the one from https://get.rvm.io and not the one from apt-get. So if you have installed the one from apt-get then it is probably best to remove it. Disclaimer – back up important files, blah bla blah, you should have some knowledge of linux, bla bla bla, I don’t know what you might accidentally delete while doing this. Be careful. To remove the old rvm: sudo apt-get –purge remove ruby-rvm sudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh Then logout of the shell and/or reboot and run: env | grep rvm It should be blank, but if not try and find where the settings are coming from. I changed to the /etc/ directory and ran grep -Hil rvm and found that it was in the bash.profile there so i removed the environmental variables being set there, then logged out of my shell and logged in again. Once that is removed, you need to install the new version of rvm and from the website get.rvm.io the instructions say run this: \curl -L https://get.rvm.io | bash -s stable –ruby –autolibs=enable –auto-dotfiles That worked great, I think it installed ruby … Continue reading

Posted in Tech Tips, Web Development | Tagged , , , , | Leave a comment