This is a demo on how to get your webcam working with Rails 3.
See my blog post about this.
Use as you wish but please drop me a note if you find it useful and use it on your site – I'd like to hear about that.
$ git clone https://github.com/lassebunk/webcam_app.git # copy this repository $ cd webcam_app $ bundle install # to make sure you have the Paperclip gem and correct version of Rails $ bundle exec rake db:migrate # create the database tables $ bundle exec rails server # run the development web server
Then go to http://localhost:3000/photos.
Copyright © 2013 Lasse Bunk, released under the MIT license