Install gems on shoes

I’ve executed with shoes this script on a .rb file:

Shoes.setup do
gem ‘json >= 1.1.1’
gem ‘activerecord’
gem ‘sqlite3-ruby’
gem ‘RedCloth’
end

require ‘json’
require ‘activerecord’
require ‘sqlite3’
requiee ‘RedCloth’

Shoes.app do
@msg = para “ALL SYSTEMS GO”
animate(20) { @msg.toggle }
end

I wanted to install sqlite3 and RedCloth gems, but I got an error. Can
anyone help me with it?

thanks

Andrea A. wrote:

I wanted to install sqlite3 and RedCloth gems, but I got an error. Can
anyone help me with it?

I know it’s bad form to answer with questions, but…

What build of Shoes are you using?
What platform are you on?
Did you hand-compile or are you using the pre-compiled binaries?

Gems in Shoes have been hit-or-miss lately, working in one build and not
in the next. It’s also rather (unfortunately) platform dependent. You’ll
probably get a lot more info on the Shoes mailing list (archives at:
http://news.gmane.org/gmane.comp.lib.shoes or you can sign up by sending
an e-mail to shoes AT code.whytheluckystiff.net and make sure you CC why
AT whytheluckystiff.net). Also, some of us shoes-ers can occasionally be
found on #shoes at irc.freenode.net.

Cheers,

Josh

well, I’m new with shoes, so I’ll try to answer as well as I can:
I’m using the latest version, shoes-0.r905.exe for windows XP, and ‘I
think’ I’m using pre-compiled binaries… I’ve found the script on
why’s site but I don’t know why it doesn’t work…

Thanks for help

Andrea

Andrea A. wrote:

well, I’m new with shoes, so I’ll try to answer as well as I can:
I’m using the latest version, shoes-0.r905.exe for windows XP, and ‘I
think’ I’m using pre-compiled binaries… I’ve found the script on
why’s site but I don’t know why it doesn’t work…

Ok, so I’ve know r905 doesn’t work on OS X…aaaand I just verified that
it’s also not working (the gem install bits, that is) on Windows.
Currently, why is furiously coding up some fixes and threading to really
boost performance. Unfortunately, this also means that things are just a
wee bit unstable at the moment. Keep checking back, though, as a fix
should be forthcoming forthwith!

Well… thank you very much. Also if is not a positive answer!
By the way thanks!

I hope they will do something soon!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs