Posts that bubfranks is monitoring
|
Jul 28, 2008
|
Topic: RubyInline version conflict Hi Peter, I’m looking forward to Scrubyt -v0.4.0 as well. I had to force install Scrubyt due to the RubyInline issue and I still get an error when running a scruby script: ERROR: RubyGem version error: RubyInline(3.7.0 not = 3.6.3) So forge ahead with the new Scrubyt. As for anyone else, I would appreciate any tips on replacing RubyInLine version 3.7.0 with 3.6.3. |
|
Jul 14, 2008
|
Topic: RubyInline version conflict Awesome. Thanks, Peter! |
|
Jul 14, 2008
|
Topic: RubyInline version conflict It’s funny you are asking this because I am just working on the 0.4.0 release… It should be out by tomorrow. Good news: All the RubyInline/ParseTree et al stuff will be dropped (ok… at the expense of exporting, but I am wondering who uses exporting at all?) scRUBYt! currently requires RubyInline 3.6.3 or newer – so yeah it’s possible to run it with 3.6.6 (I have only 3.6.6 on my machine). But I would suggest to wait for 0.4.0 until tomorrow, where these problems are gone. |
|
Jul 14, 2008
|
Topic: RubyInline version conflict Hi Peter, Did Scrubyt 0.4.0 ever get released? I’m running into a version conflict with RubyInline. Scrubyt 0.3.4 requires RubyInline = 3.6.3, but another gem requires RubyInline >= 3.6.6, so I just can’t uninstall the old version of RubyInline. Any suggestions? Is the dependency on exactly 3.6.3 real? Is there some way I can tell scrubyt just to use the older version (which is still installed)? Heres the specific error I’m getting: /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:142:in `activate’: can’t activate RubyInline (= 3.6.3, runtime), already activated RubyInline-3.7.0 (Gem::Exception) from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate’ from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each’ from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate’ from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’ from ./folioScrape.rb:13 Thanks! |
|
Nov 27, 2007
|
Topic: RubyInline version conflict As I said in the other thread as well: Anyway, as an XMas present to all scrubbers, I am going to throw out 5 dependencies from 0.4.0: rubyinline, parsetree, ruby2ruby, parsetreereloaded and rubyinlineacceleration. I think all of us had enough of those. So until then I am not going to support these problems because 0.4.0 is due in 2-3 weeks. |
|
Nov 27, 2007
|
Topic: RubyInline version conflict After I delete 3.6.5 I get a crash in ParseTreeReloded when I try to run the export extractor – see this topic http://agora.scrubyt.org/forums/3/topics/221 |
|
Nov 27, 2007
|
Topic: RubyInline version conflict I’ve got this error before, I just uninstalled the gem 3.6.5 = gem uninstall RubyInline (system will prompt to delete and delete the 3.6.5 version) |
|
Nov 26, 2007
|
Topic: RubyInline version conflict Well as you may know I’ve been having a problems getting things to work under win32. So I decided it was time to sort out what was wrong with my Debian box and try again on that, well it turned out to be a defunct motherboard. Luckily the box was one of a group of 40 ex-corporate Compaq AP400’s I’d bought at a knock down price so a quick swap and it was back up. Another half and hour and it was updated and had Ruby installed, just a shame I couldn’t get Samba to speak to the Windows system anymore…... Anyway enough of these ramblings ( been reading too much of Why’s intro to Ruby and some of it has obviously rubbed off ! ) – when I try and run my Script I get this error – I’ve included the install sequence so you can see what went wrong.
debian:/home/tom# sudo gem install mechanize
Bulk updating Gem source index for: <a href="http://gems.rubyforge.org">http://gems.rubyforge.org</a>
Install required dependency hpricot? [Yn] y
Select which gem to install for your platform (i486-linux)
1. hpricot 0.6 (mswin32)
2. hpricot 0.6 (jruby)
3. hpricot 0.6 (ruby)
4. hpricot 0.5 (ruby)
5. hpricot 0.5 (mswin32)
6. Cancel installation
> 3
Building native extensions. This could take a while...
ext/hpricot_scan/hpricot_scan.rl: In function ‘hpricot_scan’:
ext/hpricot_scan/hpricot_scan.rl:253: warning: control reaches end of non-void function
ruby extconf.rb install mechanize
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c hpricot_scan.c
gcc -shared -rdynamic -Wl,-export-dynamic -L"/usr/lib" -o hpricot_scan.so hpricot_scan.o -lruby1.8 -lc -lpthread -ldl -lcrypt -lm -lc
make install
mkdir -p /var/lib/gems/1.8/gems/hpricot-0.6/lib/i686-linux
/usr/bin/install -c -m 0755 hpricot_scan.so /var/lib/gems/1.8/gems/hpricot-0.6/lib/i686-linux
make clean
Install required dependency hoe? [Yn] y
Install required dependency rubyforge? [Yn] y
Install required dependency rake? [Yn] y
Successfully installed mechanize-0.6.10
Successfully installed hpricot-0.6
Successfully installed hoe-1.3.0
Successfully installed rubyforge-0.4.4
Successfully installed rake-0.7.3
Installing ri documentation for mechanize-0.6.10...
Installing ri documentation for hpricot-0.6...
Installing ri documentation for hoe-1.3.0...
Installing ri documentation for rubyforge-0.4.4...
Installing ri documentation for rake-0.7.3...
Installing RDoc documentation for mechanize-0.6.10...
Installing RDoc documentation for hpricot-0.6...
Installing RDoc documentation for hoe-1.3.0...
Installing RDoc documentation for rubyforge-0.4.4...
Installing RDoc documentation for rake-0.7.3...
debian:/home/tom# sudo gem install parsetree ruby2ruby
Install required dependency RubyInline? [Yn] y
Successfully installed ParseTree-2.0.2
Successfully installed RubyInline-3.6.5
Installing ri documentation for ParseTree-2.0.2...
Installing ri documentation for RubyInline-3.6.5...
Installing RDoc documentation for ParseTree-2.0.2...
Installing RDoc documentation for RubyInline-3.6.5...
Successfully installed ruby2ruby-1.1.7
Installing ri documentation for ruby2ruby-1.1.7...
While generating documentation for ruby2ruby-1.1.7
... MESSAGE: Unhandled special: Special: type=33, text="Nodes"
... RDOC args: --ri --op /var/lib/gems/1.8/doc/ruby2ruby-1.1.7/ri --main README.txt --quiet lib History.txt Manifest.txt README.txt
(continuing with the rest of the installation)
Installing RDoc documentation for ruby2ruby-1.1.7...
debian:/home/tom# sudo gem install scrubyt
Install required dependency ParseTreeReloaded? [Yn] y
Install required dependency RubyInlineAcceleration? [Yn] y
Install required dependency RubyInlineAcceleration? [Yn] y
Install required dependency RubyInline? [Yn] y
Install required dependency ParseTree? [Yn] y
Install required dependency ruby2ruby? [Yn] y
Successfully installed scrubyt-0.3.4
Successfully installed ParseTreeReloaded-0.0.1
Successfully installed RubyInlineAcceleration-0.0.1
Successfully installed RubyInlineAcceleration-0.0.1
Successfully installed RubyInline-3.6.3
Successfully installed ParseTree-1.7.1
Successfully installed ruby2ruby-1.1.6
Installing ri documentation for RubyInline-3.6.3...
Installing ri documentation for ParseTree-1.7.1...
Installing ri documentation for ruby2ruby-1.1.6...
Installing RDoc documentation for RubyInline-3.6.3...
Installing RDoc documentation for ParseTree-1.7.1...
Installing RDoc documentation for ruby2ruby-1.1.6...
debian:/home/tom# ruby tb.rb
/usr/lib/ruby/1.8/rubygems.rb:204:in `activate': can't activate (= 3.6.3), already activated RubyInline-3.6.5] (Gem::Exception)
from /usr/lib/ruby/1.8/rubygems.rb:222:in `activate'
from /usr/lib/ruby/1.8/rubygems.rb:221:in `each'
from /usr/lib/ruby/1.8/rubygems.rb:221:in `activate'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'
from tb.rb:2
debian:/home/tom#
It looks like the parsetree install installed RubyInline-3.6.5 , but the scrubyt install installed RubyInline-3.6.3 . Anyway around this? Tom |