Archive for March, 2011

Error with passenger-install-nginx-module – Could not find RubyGem passenger (>= 0) (Gem::LoadError)

If you are troubled with passenger-install-nginx-module /home/web90seconds/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:900:in `report_activate_error’: Could not find RubyGem passenger (>= 0) (Gem::LoadError) Then try sudo env GEM_HOME=$GEM_HOME /home/me/.rvm/gems/ruby-1.9.2-p180/bin/passenger-install-nginx-module Obviously change the location of your passenger-install-nginx-module binary.

Posted on March 28, 2011 at 12:53 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config · Tagged with: , ,

Gem Install Error – no such file to load — zlib

If you are troubled with the below gem install ERROR: Loading command: install (LoadError) no such file to load — zlib ERROR: While executing gem … (NameError) uninitialized constant Gem::Commands::InstallCommand Then you have installed ruby without the nessacary libraries available. Remove the ruby install (hopefully just rvm remove 1.9.2) Then install zlib1g-dev libssl-dev libreadline5-dev as […]

Posted on March 28, 2011 at 12:41 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config · Tagged with: 

Arduino controlling LED Bar – Patterns and Bouncing

So it finally arrived!  After only 20 hours, thanks to www.nicegear.co.nz for the awesome quick ship. I made a video of my Arduino Mega 2560 in action and will post the code below. Arduino source code after the break

Posted on March 9, 2011 at 10:27 pm by Jordan Carter · Permalink · Leave a comment
In: Arduino, How To, Video · Tagged with: ,

Arduino

Time to get into the exploding world of arduino. I have just ordered my kit from www.nicegear.co.nz.  Haven’t dealt with these guys before but have emailed back and forth and they are very responsive and interested.  Good start! I intend to convert my incapable T-Rex 450 Pro (only because I the pilot am incapable) into […]

Posted on March 7, 2011 at 10:19 pm by Jordan Carter · Permalink · Leave a comment
In: Arduino, Artifical Intelligence · Tagged with: 

Compiling Firefox with jssh Support on Ubuntu

sudo apt-get build-dep firefox sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src #wait 10 minutes cd mozilla-central gedit .mozconfig mk_add_options MOZ_CO_PROJECT=browser mk_add_options [email protected]@/firefox-jssh ac_add_options –enable-extensions=default,jssh ac_add_options –enable-webservices ac_add_options –enable-application=browser autoconf2.13 cd js/src autoconf2.13 cd ../.. make -f client.mk build [sudo apt-get install yasm] [possible errors] /mozilla-central/config/rules.mk:1877: *** .js component […]

Posted on March 3, 2011 at 8:13 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks, Uncategorized · Tagged with: , ,