I am writing a little Shoes app that requires a library I wrote with my regular Ruby installation. My library uses the \'net-ssh\' gem and a bunch of other Ruby libraries.
For shoes4, the Shoes.setup
method is deprecated. You can install the gems you need by either:
gem install net-ssh
Then, you only need to require 'net-ssh'
in your application.
Hey, _why posted on his blog, hackety.org, about using gems within Shoes. I hope it helps!
Shoes.setup do gem 'json >= 1.1.1' gem 'activerecord' end require 'json' require 'activerecord' Shoes.app do @msg = para "ALL SYSTEMS GO" animate(20) { @msg.toggle } end