This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source "http://rubygems.org" | |
| gem 'artoo', '~> 1.0.0.rc3' | |
| gem 'artoo-sphero', '~> 1.0.0.rc2' | |
| gem 'artoo-pebble', '~> 1.0.0.rc2' | |
| gem 'foreman' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :rubygems | |
| gem 'rack', "~> 1.3.6" | |
| gem 'sinatra' | |
| gem 'json' | |
| gem 'oauth2' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'artoo' | |
| connection :sphero, :adaptor => :sphero, :port => '127.0.0.1:4560' | |
| device :sphero, :driver => :sphero | |
| def contact(*args) | |
| @contacts ||= 0 | |
| @contacts += 1 | |
| puts "Contact #{@contacts}" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @robot.default_connection.adaptor.class.must_equal Artoo::Adaptors::Loopback # => true like expected | |
| @robot.default_connection.adaptor.must_be_kind_of Artoo::Adaptors::Loopback # => throws error like: | |
| NoMethodError: undefined method `assert_kind_of' for nil:NilClass | |
| (eval):8:in `must_be_kind_of' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Error: | |
| Artoo::Connection#test_0001_Artoo::Connection#connect: | |
| NoMethodError: undefined method `assert_kind_of' for nil:NilClass | |
| (eval):8:in `must_be_kind_of' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/calls.rb:25:in `public_send' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/calls.rb:25:in `dispatch' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/calls.rb:67:in `dispatch' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/actor.rb:328:in `block in handle_message' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/tasks.rb:42:in `block in initialize' | |
| /home/ron/.rvm/gems/ruby-2.0.0-p0@artoo/gems/celluloid-0.14.0/lib/celluloid/tasks/task_fiber.rb:9:in `block in create' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################## | |
| # /etc/lirc/hardware.conf | |
| # | |
| # Arguments which will be used when launching lircd | |
| LIRCD_ARGS="--uinput" | |
| # Don't start lircmd even if there seems to be a good config file | |
| # START_LIRCMD=false | |
| # Don't start irexec, even if a good config file seems to exist. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ CC=/usr/bin/gcc rvm install rbx --debug | |
| rbx - install | |
| Searching for binary rubies, this might take some time. | |
| Remote file does not exist https://rvm.io/binaries/osx/10.6/i386/rbx-head.tar.bz2 | |
| Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/rbx-head.tar.bz2 | |
| Remote file does not exist http://binaries.rubini.us/osx/10.6/i386/rbx-head.tar.bz2 | |
| rvm_remote_server_url3 not found | |
| No remote file name found | |
| No binary rubies available for: osx/10.6/i386/rbx-head. | |
| Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ rvm get head | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 11525 100 11525 0 0 7751 0 0:00:01 0:00:01 --:--:-- 92943 | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 1619k 100 1619k 0 0 233k 0 0:00:06 0:00:06 --:--:-- 388k | |
| Upgrading the RVM installation in /Users/ron/.rvm/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /Users/ron/.rvm/log/rbx-head/configure.log | |
| [2013-02-26 14:44:39] env | |
| current path: /Users/ron/.rvm/src/rbx-head | |
| command(8): env /Users/ron/.rvm/wrappers/ruby-1.9.2-p180/ruby ./configure --prefix=/Users/ron/.rvm/rubies/rbx-head --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --with-gcc=clang --without-tcl --without-tk | |
| Usage: configure [options] | |
| Configure settings | |
| --log-file NAME Write log to file NAME | |
| --rake NAME Use NAME as 'rake' during build | |
| --tar NAME Use NAME as 'tar' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ron@Ron-Evanss-MacBook-Pro ~ | |
| $ rvm get head | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 11525 100 11525 0 0 11317 0 0:00:01 0:00:01 --:--:-- 220k | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 1619k 100 1619k 0 0 353k 0 0:00:04 0:00:04 --:--:-- 520k |