<delsol_>
invalid gem: package is corrupt, exception while verifying: (<unknown>): control characters are not allowed at line 1 column 1 (Psych::SyntaxError) in /root/rubinius-3.14/rubinius/staging/gems/cache/nokogiri-1.6.8.rc2.gem
<delsol_>
I'm having issues getting nokogiri installed. I get errors like:
|jemc| has joined #rubinius
<delsol_>
doesn't matter what version I try to install.
tenderlove has quit [Remote host closed the connection]
<delsol_>
Maybe i'm doing something wrong in the install for rubinius. My ruby directory is /u/system/usr/lib64/ruby (that then contains 2.0.0, gems, site_ruby, vendor_ruby)
<delsol_>
I was trying to get the rubinius directory to be /u/system/usr/lib64/rubinius
<delsol_>
when i ./configure it gives me the right paths....
<delsol_>
trying again and raking now.
<cremes>
delsol_: yeah, sounds like it’s picking up gems for MRI. I just installed nokogiri without any problems on 3.14
<delsol_>
rake errors
<cremes>
are you using rvm or chruby or some other mechanism to manage your rubies?
<delsol_>
no
<cremes>
try using the “mkrb” gem to install rubinius for you.
<cremes>
sounds like your environment is goofed up
delsol_ has quit [Remote host closed the connection]
heroux has joined #rubinius
delsol_ has joined #rubinius
<delsol_>
reinstalled ruby from scratch, installed mkrb gem. Went to run mkrb, /usr/local/lib/ruby/gems/2.2.0/gems/mkrb-0.1.0/bin/mkrb:3:in `<top (required)>': undefined method `echo' for main:Object (NoMethodError)
delsol_ has quit [Changing host]
delsol_ has joined #rubinius
heroux has quit [Ping timeout: 252 seconds]
heroux has joined #rubinius
<cremes>
delsol_: what ruby did you install mkrb under? Sounds like you installed it under rubinius which we already established is borked on your system.
<cremes>
install it under MRI and try installing rubinius with it.
<delsol_>
cremes: I blew away rubinius, blew away all ruby
<delsol_>
just installed 2.2.4
heroux has quit [Ping timeout: 264 seconds]
<cremes>
delsol_: ok. and then install mkrb and it still gives you that error?
<delsol_>
Yup...
<cremes>
Can you pastie the command you are executing along with the exact error? (use pastie.org or gist.github.com or similar)
delsol_ has quit [Remote host closed the connection]
heroux has quit [Ping timeout: 264 seconds]
heroux has joined #rubinius
heroux has quit [Ping timeout: 248 seconds]
heroux has joined #rubinius
heroux has quit [Ping timeout: 264 seconds]
heroux has joined #rubinius
heroux has quit [Ping timeout: 260 seconds]
heroux has joined #rubinius
heroux has quit [Ping timeout: 272 seconds]
heroux has joined #rubinius
delsol_ has joined #rubinius
heroux has quit [Ping timeout: 272 seconds]
heroux has joined #rubinius
<delsol_>
Is rubinius reliant on GCC/LLVM/etc after its initially compiled and built? or could I potentially just get rubinius to build on something else and just copy the directory and binary executables over?
<cremes>
delsol_: rubinius doesn’t need a compiler after it itself is compiled (except for gems with C extensions, but that isn’t specific to rubinius)
<delsol_>
so theoretically, you could tar -czvf rubinius.tgz /path/to/rubinius
<cremes>
is it possible that you have an old slackware?
<delsol_>
14.1
<cremes>
ok, that’s the latest
<cremes>
is stuff built on ubuntu able to run on slackware if it’s copied over? If so, see here: http://rubinius.com/packages/
<delsol_>
and I could tar -xzvf rubinius.tgz and it'd still run.... (assuming you're on linux)
<cremes>
perhaps. give it a shot.
<cremes>
so strange that you can’t get it to compile though
<cremes>
i’ll look for a slackware vmware image and see if I can duplicate your problem.
<delsol_>
looks like docker is quazi-available for slackware
<delsol_>
but I'll have to build it.
<cremes>
I’m currently downloading a slackware vmware image. It’s about 2GB so it’ll be another 15m before I have it.
<cremes>
I’ll run it and try to install rubinius.
<cremes>
What’s the command on slackware to install ruby? What package manager does it use?
<delsol_>
doesn't really have a package manager.
<cremes>
so how do you install ruby? grab a tarball and go fro mthere?
<delsol_>
if you have a package... you can run the package...
<delsol_>
and you can build packages
<cremes>
you’re going to have to explain that. you just said it doesn’t have a package manager, now you are talking about packages.
<delsol_>
but its not like apt-get
<cremes>
just give me the command you ran.
<delsol_>
for ruby2.2.4, I downloaded it, then ./configure
<delsol_>
make, make install
<cremes>
ok
<delsol_>
but once I get one machine running..... then I can build a package of every file I need....... and then just be able to install that package on any other machine I need it on.
<cremes>
so when you say package, you mean tarball
<delsol_>
Yes and no.
<delsol_>
tarbar with fullpath to everything... and a few special package files....
<delsol_>
that then when doing installpkg goes and grabs the files, and puts them where they're supposed to be...
<cremes>
where do you run “installpkg”? You said: ./configure && make && make install
<delsol_>
In this case, you won't
<delsol_>
I won't.... until after I get things working on ONE machine...
<cremes>
ok, if I don’t need it then don’t confuse me with it.
<delsol_>
then I can make a directory.... include fullpath inside of that directory, take every needed file.. THEN build a package... so getting it on machine 3,4,n,n+1 becomes stupid easy.
<delsol_>
its machine #1 thats a pain.
<delsol_>
(at least in this case)
<cremes>
i see
<cremes>
10m left on my download
<delsol_>
14.1 comes with 1.9.3 I think preinstalled
<cremes>
cool, then i won’t even need to install ruby to get rbx built
<cremes>
delsol_: does 14.1 come with git installed?
<delsol_>
that I don't remember..... I think so.
<delsol_>
if not, then it must be my POS installer that installs it... and if thats the case, I've likely got a package for it.
<cremes>
i don’t really need git. i can just use a rubinius tarball
<cremes>
ok, trying to boot slackware now
<delsol_>
BRB. (losing wifi for a couple minutes)
delsol_ has quit [Remote host closed the connection]
delsol_ has joined #rubinius
<delsol_>
back, sorry.....
<cremes>
ok, well this slackware image is for slackware 14.0 instead of 14.1. I’m reading how to update to 14.1 and it looks like a lot of steps.
<cremes>
delsol_: Sorry, I think I’m quitting on this.
<cremes>
Make sure you have llvm 3.5.1 installed (not 3.6 or 3.7) and try building with clang instead of gcc. The ./configure step should detect clang and use it preferentially over gcc.
<cremes>
the gcc you have (4.8.2) may or may not be new enough… I just don’t know.
<cremes>
but I do know that llvm 3.5.1 works.
<delsol_>
OK... well, thanks for all the help. At least that gives me a direction to look into.
<delsol_>
Out of curiousity, why the heck doesn't anyone seem to provide just a .tgz of a working folder with included binary executables and libraries.
<delsol_>
basically, a fat binary.
<cremes>
don’t know… probably because that binary wouldn’t be confirmed to work on just *any* system.
<cremes>
and then there would be mysterious failures and people would ask why this generic build doesn’t work on their system. :P
heroux has quit [Ping timeout: 276 seconds]
<delsol_>
true... for OSX stuff, that used to be an option, but then you'd just have the x86 or PPC branches.
heroux has joined #rubinius
<delsol_>
also got a lot of stuff that way on BSD ages and ages ago.
<delsol_>
sure, you ended up with several copies of common libraries on your machine at the end.... but each package was fully self contained then.
<cremes>
good luck with figuring this out. if you do, we’d love to have an “official” slackware package maintained for each release
<cremes>
if you figure out the secret sauce, let us know
|jemc| has quit [Ping timeout: 248 seconds]
<delsol_>
I will
<delsol_>
even if I can only get 1 version working..... I'll build a package.
delsol_ has quit [Remote host closed the connection]
cremes has quit [Quit: cremes]
cremes has joined #rubinius
cremes has quit [Remote host closed the connection]