<SoulFunk>
I need assistance with compiling the Ruby 2.5 port on FreeBSD/powerpc. Getting the following error: Unsupported relocation type 10 in non-PLT relocations
Azure has joined #ruby
<baweaver>
clorisu: Try putting a puts statement in the required file to see if it even runs.
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clorisu>
baweaver: i get hashCanvasChallenge2.rb:6:in `<main>': undefined local variable or method `items' for main:Object (NameError)
<baweaver>
SoulFunk: Sure you have all the dependencies right?
<clorisu>
because ive moved the items method into a different file im trying to retrieve from
<baweaver>
Most of what I find out on Google indicates something wasn't built right or build deps are missing
<clorisu>
sorry, items variable*
<baweaver>
clorisu: Why the different file?
<baweaver>
and are you _sure_ that file is actually getting included?
<SoulFunk>
baweaver: I believe so, the port Makefile usually handles all that
<baweaver>
I was seeing some things along the line of this: The problem is that when libclamav.so was built .o files were put in that
<baweaver>
were not built -FPIC.
<clorisu>
baweaver: i'm separating a file for coursework that i'm using to practice. i'm sure its being included in the sense that i'm sure they are in the same directory, thats about it. as for why its not working im not sure
<JJonah>
woodruffw: thanks. i actually have a hash, and i want the keys of the hash to be the named arguments and its values to be their defaults. i can't figure out how to adjust your example for this case...
<JJonah>
woodruffw: thanks, got it working with class_eval
<woodruffw>
nice; glad it works
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MoritaShinobu has joined #ruby
\void has joined #ruby
MoritaShinobu has quit [Ping timeout: 246 seconds]
MoritaShinobu has joined #ruby
ivanskie has joined #ruby
clorisu has quit [Ping timeout: 245 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys has quit [Quit: Bye]
clorisu has joined #ruby
Freshnuts has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
Dbugger has joined #ruby
reber has joined #ruby
doubledup has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
dellavg_ has joined #ruby
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 2.2]
SoulFunk has quit [Quit: leaving]
dionysus69 has joined #ruby
nrk has quit [Quit: WeeChat 1.4]
tpendragon has quit [Remote host closed the connection]
JoL1hAHN has joined #ruby
t0x has left #ruby [#ruby]
sticaz has joined #ruby
drew00 has joined #ruby
tpendragon has joined #ruby
dellavg_ has quit [Ping timeout: 245 seconds]
sameerynho has joined #ruby
herbmillerjr has joined #ruby
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
mniip has quit [Ping timeout: 630 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
mniip has joined #ruby
duderonomy has joined #ruby
conta1 has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
herbmillerjr has joined #ruby
drew00 has quit [Quit: drew00]
desperek has joined #ruby
mikecmpbll has joined #ruby
doubledup has quit [Quit: Leaving]
doubledup has joined #ruby
dhollin3 has joined #ruby
Freshnuts has quit [Quit: Leaving]
dhollinger has quit [Ping timeout: 268 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
drew00 has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
MoritaShinobu has quit [Ping timeout: 252 seconds]
qolq has quit [Ping timeout: 272 seconds]
MoritaShinobu has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
jenenliu has joined #ruby
<clorisu>
does anyone know why my ruby doesnt return the last line to terminal? ive tried across many files
leitz has joined #ruby
mikecmpb_ has quit [Ping timeout: 252 seconds]
RougeR has joined #ruby
FernandoBasso has joined #ruby
Bish has quit [Ping timeout: 252 seconds]
arekushi has joined #ruby
arekushi is now known as Guest18202
turt2live has quit [Read error: Connection reset by peer]
bastilian has quit [Remote host closed the connection]
Demos[m] has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
<leitz>
Is this a proper way to list class names in an array? The test is @integer_options.include?(@result.class). @integer_options = [Integer, Fixnum]
<leitz>
Or use @result.class.to_s and put quotes around the array items. Both seem to work.
deadnull has joined #ruby
deadnull has quit [Client Quit]
DTZUZO has joined #ruby
deadnull has joined #ruby
RougeR has quit [Read error: Connection reset by peer]
RougeR has joined #ruby
olivierjanss has quit [Read error: Connection reset by peer]
olivierjanss has joined #ruby
turt2live has joined #ruby
bastilian has joined #ruby
Demos[m] has joined #ruby
deadnull has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 240 seconds]
deadnull has joined #ruby
deadnull has quit [Client Quit]
deadnull has joined #ruby
TomyLobo has joined #ruby
<TomyLobo>
hi
<TomyLobo>
https://github.com/jnunemaker/httparty/pull/569/files this PR adds multipart/form-data to HTTParty. it's been merged since 0.16. I checked the spec files added in that PR, but I can't figure out how to actually enable multipart/form-data
<TomyLobo>
do i need to just post files and it automatically switches to multipart/form-data or how does it work?
FernandoBasso has quit [Read error: Connection reset by peer]
MoritaShinobu has quit [Ping timeout: 252 seconds]
conta1 has quit [Quit: conta1]
deadnull has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tty has quit [Quit: tty]
MoritaShinobu has joined #ruby
<leitz>
Hey TomyLobo, we usually have some smart people from Europe on around this time. They may be sleeping in though. If you don't get an answer I'd just try stuff and see what doesn't blow up.
<TomyLobo>
:D
deadnull has joined #ruby
AJA4350 has joined #ruby
doubledup has quit [Ping timeout: 240 seconds]
MoritaShinobu has quit [Ping timeout: 245 seconds]
doubledup has joined #ruby
Puffball has quit [Remote host closed the connection]
n13z has joined #ruby
deadnull has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pyrmont>
@TomyLobo: It looks like it automatically switches. The request.rb file checks the value of Body#multipart? method and that just checks whether the params respond appropriately.
deadnull has joined #ruby
deadnull has quit [Client Quit]
cyberRodent has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
Azure has joined #ruby
deadnull has joined #ruby
GodFather has joined #ruby
deadnull has quit [Client Quit]
sticaz has quit [Quit: BELLA LI!]
clorisu has quit [Remote host closed the connection]
thy0 has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
sticaz has joined #ruby
fmcgeough has joined #ruby
<TomyLobo>
cool, thanks
despai has quit [Quit: ...]
deadnull has joined #ruby
deadnull has quit [Client Quit]
<href>
OA
deadnull has joined #ruby
deadnull has quit [Client Quit]
postmodern has quit [Quit: Leaving]
sticaz has quit [Quit: BELLA LI!]
thy0 has quit [Quit: TTFN]
TomyLobo has quit [Read error: Connection reset by peer]
fmcgeough has quit [Quit: fmcgeough]
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
MoritaShinobu has quit [Ping timeout: 240 seconds]
Yxhuvud has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
MoritaShinobu has joined #ruby
troulouliou_dev has joined #ruby
alexandrino has quit [Remote host closed the connection]
thy0 has joined #ruby
sticaz has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
dbz has joined #ruby
conta1 has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
k0mpa has joined #ruby
MoritaShinobu has quit [Ping timeout: 252 seconds]
discopatrick has joined #ruby
MoritaShinobu has joined #ruby
idiocrash has joined #ruby
orbyt_ has joined #ruby
arup_r has joined #ruby
troulouliou_dev has joined #ruby
conta1 has quit [Quit: conta1]
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
sagax has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
reber has quit [Remote host closed the connection]
reber has joined #ruby
sticaz has quit [Quit: BELLA LI!]
arup_r has quit []
reber has quit [Remote host closed the connection]
reber has joined #ruby
lomex has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
reber has quit [Remote host closed the connection]
<apeiros>
but for without, all you gave was "doesn't work"
reber__ has quit [Read error: Connection reset by peer]
<leitz>
gem install ftl_tools ERROR: Could not find a valid gem 'ftl_tools' (>= 0) in any repository ERROR: Possible alternatives: fgltools, atc-tools, bt-tools, fintools, flx-tools
<leitz>
Except that now that I've installed it locally once, it now installs.
<leitz>
Ah, if I remove the local copy it fails again.
<leitz>
gem install free_trader
<leitz>
ERROR: Possible alternatives: freerider, feedreader, free_spider, fsxtrader, sheet_reader
<leitz>
ERROR: Could not find a valid gem 'free_trader' (>= 0) in any repository
<leitz>
Gems should be up on Rubygems.org: ftl_tools, ftl-chargen, free_trader
<leitz>
Err...ftl_chargen
jcalla has quit [Quit: Leaving]
clorisu has joined #ruby
<apeiros>
leitz: see, so it was a different error. and what it means is that you wrote ftl_tools into the gemspec as a dependency, but didn't push it to rubygems
<apeiros>
once you install it locally, it doesn't have to fetch it from rubygems.org anymore, hence that error vanishes
<leitz>
So if I remove all three I should be able to install them from rubygems?
<apeiros>
well, make sure you pushed all to rubygems first
<leitz>
All three should be there. I pushed them before the Ruby upgrade.
<leitz>
Let me test this. Hang on.
<apeiros>
.pre.alpha
<apeiros>
that's not considered in a normal install
<leitz>
If you looked at my code you'd agree. ;P
Dbugger has quit [Ping timeout: 240 seconds]
<apeiros>
maybe. but gem list will not list betas, alphas etc.
<apeiros>
i.e. anything with an alphabetical part in the version is considered "prerelease"
<apeiros>
and if you put that into the dependencies, you must be explicit with the version, or install with --pre (though, not sure that applies to dependencies)
<leitz>
I've already removed free_trader
<leitz>
Can you see ftl_tools on rubygem.org?
<leitz>
And I get the "could not find" on ftl_tools.
<apeiros>
I'll repeat: won't install without --pre
<apeiros>
ah, and I misspoke, `gem search` won't list it, not `gem list`. latter is for gems you installed.
kapil___ has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
<leitz>
And you're right, adding --pre to the install let them install. Good to know since mine are going to be "pre" for a while.
* leitz
goes to update his notes.
jottr has quit [Ping timeout: 246 seconds]
\void has joined #ruby
mnemon has joined #ruby
jane_booty_doe has joined #ruby
Tharbakim has quit [Quit: Something has gone terribly wrong. Send help.]
tristanp has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
desperek has quit [Quit: xoxo]
* leitz
gets miffed when his tests fail to find an error.
doubledup has quit [Remote host closed the connection]
jottr has joined #ruby
<leitz>
Ah, gem 3.0.0 can't push gems. ERROR: You are using a beta release of RubyGems (3.0.0.beta1) which is not
<leitz>
allowed to push gems. Please downgrade or upgrade to a release version.
jottr has quit [Ping timeout: 250 seconds]
teej has quit [Quit: Connection closed for inactivity]
mrush has joined #ruby
cagomez has joined #ruby
<mrush>
is code written for 1.9 likely to run on 2.5
<leitz>
mrush, some, yes.
<mrush>
okay. thank you leitz.
<leitz>
Some things changed, like Fixnum and Bignum though.
<leitz>
So it might be tricky. I've written code that worked from 1.8.7 to 2.6, but my code base is usually very small and only using the standard library.
dbz has joined #ruby
<leitz>
mrush, you could clone the repo and run the tests. See what breaks. I don't think the owners will care.
<leitz>
Or fork it to your own repo and press on.
<leitz>
What are you trying to accomplish?
<mrush>
leitz, will do. it'll be slow since i'm not great at ruby yet. basically i'd rather learn and implement whatever is necessary in order to have a ruby alternative to pydbg.
<leitz>
baweaver or apeiros might know of a more current tool. And Welcome to Ruby!
<mrush>
thank you leitz :) if anyone does know of more current scriptable debuggers implemented in ruby, please do let me know.
dbz has quit [Remote host closed the connection]
nowhere_man has joined #ruby
<leitz>
I'm starting to hate the rubygems API.
<leitz>
How do I change this to allow any version? s.add_runtime_dependency 'ftl_tools', '>= 0.0.1.pre.alpha'
<darix>
leitz: leave out the 2nd param?
<leitz>
darix, changed it to ">= 0", but omitting sounds better. I hate having to increment the gem version because rubygems won't let you upload the same version.
jottr has joined #ruby
<canton7>
that makes sense, surely? If someone is depending on a particular version of your gem, you shouldn't be able to just break that
ellcs has joined #ruby
m27frogy has quit [Ping timeout: 252 seconds]
<leitz>
canton7, to a degree, yes. But when the changes are small, like fixing the gemspec, it seems like Rubygems isn't trusting your.
<leitz>
you.
<darix>
leitz: uploading a version is like freezing it. think of it as immutable. version numbers are cheap.
<darix>
no
m27frogy has joined #ruby
<darix>
you never change a release
<darix>
ever
<canton7>
but if they let you fix the gemspec, they let everyone else completely break things
<_ari>
does ruby/rails+reactjs work at all?
<darix>
leitz: example: many distros verify that the checksum of the upstream tarball (a gem in your case) doesnt change
<darix>
leitz: so if you upload 2 different tarballs for the same version ... you would break that. and the first assumption would be ... someone broke into your account