[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Install gems on shoes

Andrea Aaa

8/5/2008 1:29:00 PM

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
--
Posted via http://www.ruby-....

4 Answers

Joshua Ballanco

8/5/2008 10:13:00 PM

0

Andrea Aaa 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... 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
--
Posted via http://www.ruby-....

Andrea Aaa

8/6/2008 8:44:00 AM

0

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
--
Posted via http://www.ruby-....

Joshua Ballanco

8/6/2008 6:15:00 PM

0

Andrea Aaa 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!
--
Posted via http://www.ruby-....

Andrea Aaa

8/7/2008 1:25:00 PM

0

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

I hope they will do something soon!
--
Posted via http://www.ruby-....