Using Ruby libraries and gems with a Shoes app
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
Ruby Shoes and gems with native extensions
you're wrong, shoes CAN be run as a gem, you have different flavors (colors) of shoes.
Most people work with Red Shoes but you also have a Green Shoes implementation, i use it always with native extensions. Not all methods from red are available and possibly you have to change your code a little but it should work. Success !
Shoes and Gems
I hope your login module doesn't use HTTPS as I don't think that is supported in Shoes yet.
Related Topics
How to Find the Path a Ruby Gem Is Installed at (I.E. Gem.Lib_Path C.F. Gem.Bin_Path)
Convert String with Hex Ascii Codes to Characters
Rails 3/Ruby: Activerecord Find Method in Condition Array to Parameters Single Quote Issue
How to Unit-Test a JSON Controller
What Is the Use of "#!/Usr/Local/Bin/Ruby -W" at the Start of a Ruby Program
How to Change the Position of an Array Element
Why Should I Care About Rvm's Gemset Feature When I Use Bundler
Rails 4 Error R14 on Heroku (Memory Quota Exceeded)
How to Set Ruby's Load Path Externally
Programming Technique: How to Create a Simple Card Game
Converting Utc Timestamp to Iso 8601 in Ruby
Protecting the Content of Public/ in a Rails App
How to Authorize a Service Account for Google Calendar API in Ruby