Can't run WebivaQuickInstall using RVM

Emiliano 18.Feb.2011 4:34pm
Hi,

I’m using RVM to manage my Ruby versions, I currently have 1.8.7 and 1.9.2.

When I try to run QuickInstall I get the following:

./script/quick_install.rb
<internal:lib/rubygems/custom_require>:29:in `require’: no such file to load — sha1 (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require’
from ./script/quick_install.rb:3:in `<main>’

I believe is because I have ruby and rubygems installed in my user folder (because of RVM).

Any idea of how can I install Webiva anyway?

Thanks
Pascal Rettig 18.Feb.2011 5:39pm
Hi Emiliano,

I haven’t tried a RVM install on linux – I do use it on OS X with RVM without having run into this issue – couple thoughts of things you can try:

1. Try replacing ‘sha1’ with ‘digest/sha1’

2. Try getting rid of the
     #!/usr/bin/env ruby

at the top of the file.

-Pascal