<dminuoso>
triangles: If you use bundle, then you must use bundle.
<dminuoso>
(Let's see if that makes sense to you)
ullu_ has joined #ruby
nickjj has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
nickjj has joined #ruby
ullu_ has quit [Ping timeout: 276 seconds]
banisterfiend` is now known as banisterfiend
elaptics`away is now known as elaptics
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
edwinvdgraaf has joined #ruby
No has quit [Ping timeout: 264 seconds]
Jerkychew has joined #ruby
the_drow has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Ping timeout: 244 seconds]
n1x-nz has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
Wildfyr has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Emmanuel_Chanel has joined #ruby
ych has joined #ruby
ramfjord has joined #ruby
joonty has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
ponga has joined #ruby
Jerkychew has quit [Ping timeout: 250 seconds]
burgestrand has joined #ruby
weckl has joined #ruby
<triangles>
I'm scouring the bundler.io docs and trying every combination of bundler/setup, bundler, Bundler.require etc I can think of and still can't get the name to resolve
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weckl has quit [Max SendQ exceeded]
troulouliou_div2 has joined #ruby
<dminuoso>
triangles: How about you gist some code that shows what you are trying to do, what you expect to happen, and what error message you get.
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
troulouliou_div2 has quit [Remote host closed the connection]
Ishido has quit [Remote host closed the connection]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta__ has joined #ruby
lenwood has joined #ruby
burgestrand has joined #ruby
Snowy has joined #ruby
tomphp has quit [Client Quit]
ta_ has quit [Ping timeout: 250 seconds]
fclausen has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
tomphp has joined #ruby
jenrzzz has joined #ruby
<dminuoso>
triangles: Let's first clear up some things.
<dminuoso>
triangles: Either you use bundler to require things, or you dont.
<dminuoso>
Let's just assume you want to use bundler, all you need to do is require 'bundler/setup' after rubygems and then run Bundler.require
<dminuoso>
triangles: However! You need to tell bundler which group to require - anything that is outside of a named group is implicitly placed into the :default group.
<dminuoso>
triangles: So the correct way would be to use Bundler.require(:default) (unless you place some gems into groups, then you need to specify that group as well)
<dminuoso>
And then you do not need to require it again.
ayonkhan has joined #ruby
dc4 has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
skade has joined #ruby
B1n4r10 has joined #ruby
Coldblackice has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 264 seconds]
emiltin has joined #ruby
ur5us has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
marr has joined #ruby
aryaching has joined #ruby
Beast has joined #ruby
pawnbox has quit [Remote host closed the connection]
<triangles>
Hmm, I see
<triangles>
So I just require rubygems, bundler/setup, then call Bundler.require(:default)?
Es0teric has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrmortondk has joined #ruby
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
Madplatypus has quit [Quit: Connection closed for inactivity]
lenwood has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
burgestrand has joined #ruby
harfangk has quit [Quit: harfangk]
consti has joined #ruby
antgel has joined #ruby
Oclair has joined #ruby
aryaching has quit [Remote host closed the connection]
dionysus69 has joined #ruby
patrick_star_2 has quit [Read error: Connection reset by peer]
<Wildfyr>
as a ruby begginer what is the best way to install gems
<Zarthus>
Wildfyr: What is your usecase? Are you starting a new project, or installing one?
<Wildfyr>
Zarthus: installing one
n1x-nz has quit [Quit: Computer says no]
<Zarthus>
generally `bundle install` is sufficient, if there is no 'vendor' folder in the root you might choose to install it in your own prefix (like your home) if you really want to.
<Zarthus>
like with any program, `bundle --help' is often useful to read.
patrick_star has joined #ruby
fclausen has joined #ruby
<Zarthus>
in your case, you want `bundle --help install'
Oclair has quit [Read error: Connection reset by peer]
<Wildfyr>
Zarthus: no bundle here
<Zarthus>
`gem install bundler' first
yude has joined #ruby
pawnbox has joined #ruby
sdothum has joined #ruby
futilegames has joined #ruby
naftilos76 has joined #ruby
jenrzzz has joined #ruby
mozzarella has joined #ruby
futilegames has quit [Client Quit]
futilegames has joined #ruby
<Wildfyr>
are there any significant advantages of using bundler over gem
dhruvasagar has quit [Ping timeout: 244 seconds]
TvL2386 has quit [Remote host closed the connection]
<Zarthus>
the gem command helps install gems and manage them, bundler reads project dependencies and loops over them, passing them to gem (in a very brief way of saying it)
Bish has quit [Read error: Connection reset by peer]
<Wildfyr>
okay
<Zarthus>
bundler also helps your ruby path so you can always include your required gems
Bish has joined #ruby
<Wildfyr>
okay
harfangk has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
fclausen_ has joined #ruby
<Zarthus>
if you are familiar with other languages, the bundler is a bit like the build file, where gems is just the tool the buildfile uses to install dependencies with
araujo has quit [Max SendQ exceeded]
futilegames has quit [Ping timeout: 276 seconds]
jmignault has joined #ruby
araujo has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<Wildfyr>
ok
<Wildfyr>
thanks
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
sanjayu has quit [Ping timeout: 260 seconds]
duncannz has quit [Remote host closed the connection]
araujo has quit [Max SendQ exceeded]
ramfjord has quit [Ping timeout: 244 seconds]
araujo has joined #ruby
toretore has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
chip_ has joined #ruby
Emmanuel_Chanel_ has joined #ruby
jmignault has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
terminalrecluse has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
hahuang65 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Gasher has joined #ruby
harfangk has quit [Quit: harfangk]
jaguarmagenta has joined #ruby
terminalrecluse has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
Emmanuel_Chanel_ has quit [Quit: Leaving]
jaguarmagenta has quit [Ping timeout: 244 seconds]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
sanjayu has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
No has joined #ruby
fclausen_ has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
Oclair has joined #ruby
User458764 has joined #ruby
joonty has joined #ruby
evansbee has joined #ruby
koooge has quit [Quit: Leaving...]
mattwashere has joined #ruby
charliesome has joined #ruby
TheWhip has joined #ruby
evansbee has quit [Ping timeout: 276 seconds]
mattwashere has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
solars has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
User458764 has joined #ruby
ta_ has joined #ruby
Tempesta has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
DoubleMalt has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Rickmasta has joined #ruby
johnmilton has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
<jokke>
Papierkorb: but how could i test my method then?
<jokke>
i need to call it on the actual object
<Papierkorb>
then you should mock the inner object
<jokke>
i do that
ych has quit [Client Quit]
<jokke>
but i need to know assign_attributes actually calls the specified methods on the decorator instance even if they're not defined
nettoweb has joined #ruby
rodfersou has quit [Ping timeout: 244 seconds]
<Papierkorb>
as I said, mock the inner object. the decorated object, not the decorator.
rodfersou has joined #ruby
<jokke>
and what does that help?
<Papierkorb>
Or use a decorator which actually defines methods
swills has quit [Remote host closed the connection]
mieko has quit [Remote host closed the connection]
<Papierkorb>
Why do you want to verify the decorators functionality? It'll work, as it's most likely tested elsewhere. it will call onto the inner object.
arnonhongklay has quit [Remote host closed the connection]
<jokke>
yeah.. i guess so. it would've been just nice to have the test so it'd be easier to pluck the decorator into it's own gem for example
minimalism has quit [Quit: minimalism]
arnonhongklay has joined #ruby
<Papierkorb>
you can do that. just use a double as inner object
<jokke>
yeah then i'd test if the inner object receives test1=
<jokke>
or whatever
dsea11 has quit [Ping timeout: 244 seconds]
<jokke>
but the main point is that it tries the decorator first incase a setter has been overwritten to do stuff with the value
ldnunes has joined #ruby
<jokke>
i'll just add one setter
<jokke>
and the other i test with the inner object
zapata has joined #ruby
ramfjord has joined #ruby
pawnbox has quit [Remote host closed the connection]
dsea has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
tubuliferous has joined #ruby
No has quit [Quit: Leaving]
<jokke>
oh come on...
<jokke>
i tried defining a singleton method in the example
<jokke>
can't define singleton
pawnbox has joined #ruby
B1n4r10 has joined #ruby
solars has joined #ruby
<dminuoso>
jokke: How did you try defining the singleton method?
djbkd has joined #ruby
djbkd has quit [Client Quit]
aupadhye has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
naftilos76 has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta__ has quit [Ping timeout: 244 seconds]
leea has joined #ruby
dionysus69 has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
aupadhye has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Fernando-Basso has joined #ruby
DoubleMalt has quit [Ping timeout: 272 seconds]
rolfb has joined #ruby
Ropeney has joined #ruby
ta_ has joined #ruby
jrafanie has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
spiette has joined #ruby
yardenbar has joined #ruby
bmurt has joined #ruby
the_drow has quit [Quit: Leaving]
spiette has quit [Excess Flood]
spiette has joined #ruby
l4v2 has joined #ruby
the_drow has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
dhruvasagar yeah, it was just the weird syntax that confused me
jrafanie has joined #ruby
<shevy>
like to see [-1,1] = '' but in the definition we use def []=(a,b,c)
chip_ has joined #ruby
aupadhye has joined #ruby
dc4 has joined #ruby
abonec has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
dc4 has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
solocshaw has joined #ruby
last_staff has quit [Quit: last_staff]
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
aegis3121 has joined #ruby
terminalrecluse has joined #ruby
ekinmur has joined #ruby
ruby-lang167 has joined #ruby
ChiefAlexander has joined #ruby
ruby-lang167 is now known as zer0
zer0 has left #ruby [#ruby]
aegis312_ has joined #ruby
archaicdemon has joined #ruby
ramortegui has joined #ruby
terminalrecluse has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
aegis3121 has quit [Ping timeout: 272 seconds]
diegoviola has joined #ruby
TheWhip has quit [Remote host closed the connection]
evansbee has joined #ruby
charliesome has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
mdw has joined #ruby
rbennacer has quit [Remote host closed the connection]
mattwashere has joined #ruby
TheWhip has joined #ruby
pawnbox has quit [Remote host closed the connection]
evansbee has quit [Ping timeout: 272 seconds]
nhhc has quit [Remote host closed the connection]
arch__ has joined #ruby
pawnbox has joined #ruby
mattwashere has quit [Ping timeout: 272 seconds]
Vile` has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
TheWhip has quit [Ping timeout: 276 seconds]
swills has joined #ruby
allcentury has joined #ruby
andikr has quit [Remote host closed the connection]
isberg has quit [Ping timeout: 264 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
isberg has joined #ruby
stoopidmunkey has quit []
elaptics is now known as elaptics`away
solocshaw has quit [Ping timeout: 276 seconds]
malconis has joined #ruby
sha1sum has joined #ruby
tubuliferous has joined #ruby
maucar has joined #ruby
evansbee has joined #ruby
aries_liuxueyang has quit [Ping timeout: 272 seconds]
<sha1sum>
I have a check for whether a gem is installed within my file and--if it is not installed--I call the gem installation. How can I reload the available gems so I can require the newly-installed one without having to exit the process?
craigp_ has quit [Ping timeout: 276 seconds]
chip_ has quit [Read error: Connection reset by peer]
<sha1sum>
(this is a Vagrant file, so I'm aware it's not normal procedure for regular ruby)
chip_ has joined #ruby
Ropeney has joined #ruby
nankyokusei has joined #ruby
Rickmasta has joined #ruby
kareeoleez has quit [Remote host closed the connection]
ekinmur has joined #ruby
<leea>
can you post a gist?
c0mrad3 has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
<sha1sum>
leea: actually I noticed something like, that, but I just ran into this specifically for Vagrant users, so I think I may use it :) /www.ruby-forum.com/topic/131346
aegis312_ has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
freerobby has quit [Quit: Leaving.]
workmad3 has joined #ruby
And1 has joined #ruby
ta__ has joined #ruby
ChiefAlexander has joined #ruby
<leea>
oh okay, I'm glad you were able to find a solution :)
`tim` has joined #ruby
<And1>
Hello folks. Can please anyone help me with a rake question? I want to specify a variable, NUM_CPUS = %x[sysctl -n hw.ncpu] … how can I multiply that value by 4 in another variable?
jtd has quit [Remote host closed the connection]
<adam12>
And1: Integer(NUM_CPUS) * 4 ?
fmcgeough has joined #ruby
davedev2_ has joined #ruby
<And1>
adam12: Do I need quotes around one of the both declarations? Sorry I’m just modifying a file, I never touched ruby before.
Gasher has quit [Quit: Leaving]
<adam12>
And1: Can you share what you have in a Gist? You shouldn't need any quotes.
<adam12>
I'm not super familiar with Rake internals, but your constants (NUM_CRAWLERS, NUM_CPUS) defined in data namespace might not be available in crawl namespace.
<And1>
Ah I see. Ok let me try it …
<And1>
It seems to work. Thank you!
ullu has left #ruby ["Closing Window"]
Regulati_ has quit [Ping timeout: 244 seconds]
chip_ has quit [Ping timeout: 246 seconds]
<adam12>
And1: Weird? Well that's great to hear!
codingcan has joined #ruby
GodFather has joined #ruby
arthurl has joined #ruby
codingcan has left #ruby [#ruby]
swills has quit [Quit: Leaving]
malconis has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
tvon has quit [Quit: System is sleeping...]
swills has joined #ruby
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
aldodelgado has joined #ruby
chip_ has joined #ruby
aldodelgado has quit [Client Quit]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smathy has joined #ruby
<agent_white>
Mornin'
mattwashere has quit []
mattwashere has joined #ruby
CJKinni has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
blaxter has quit [Quit: foo]
Ishido has joined #ruby
abk has quit [Ping timeout: 246 seconds]
thatsnotjack has joined #ruby
orakar has joined #ruby
hxegon_afk is now known as hxegon
<orakar>
As you'll soon discover when you read my code example, I'm a C programmer trying Ruby. I'm trying to extract a little endian uint32 from a string. What I've done now works, but seems awfully un-Ruby. Can anyone advise? https://gist.github.com/anonymous/94b27b301aafdd79cc5bd264d4948c0d
CloCkWeRX has quit [Ping timeout: 258 seconds]
<apeiros>
orakar: unpack is your friend
<orakar>
apeiros: looks promising! Thanks!
B1n4r10 has joined #ruby
pawnbox has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 252 seconds]
codingcan has joined #ruby
<apeiros>
"L<" is probably what you need as unpack directive
codingcan has left #ruby [#ruby]
MrBusiness2 has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
Guest73250 has joined #ruby
<hxegon>
That feeling when you spend like 3 weeks reinventing the observer pattern :|
codingcan has joined #ruby
craigp_ has joined #ruby
nhhc has joined #ruby
MrBusiness3 has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 250 seconds]
<Bish>
hxegon: why did u?
ChiefAlexander has joined #ruby
<orakar>
apeiros: once I've unpacked the string, how do I combine the parts? Sorry if that's a silly question. I can imagine lots of ways to do it, but I'm after the most idiomatic way in Ruby
<Bish>
orakar: can you gist an example?
<hxegon>
long story short, processing different async input sources that have to all be fed into a single pipeline
<Bish>
are you talking about the array resultung in the unpack?
leea has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
<orakar>
Bish: yeah, that's what I mean. So "aa" would be 24929, since a = 97 and (97 + (97 << 8)) == 24929
aryaching has quit [Remote host closed the connection]
eatsfoobars has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<orakar>
(sorry, didn't mean to suggest the answer was incomplete in the sense that you'd shortchanged me. :P I just meant that I wasn't 100% sure how to proceed)
tvw has joined #ruby
neo_ has joined #ruby
DaniG2k has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Client Quit]
centrx has joined #ruby
xaxisx has joined #ruby
aryaching has joined #ruby
blandflakes has joined #ruby
chouhoulis has joined #ruby
shinnya has joined #ruby
mattwashere has quit [Remote host closed the connection]
sanjayu has joined #ruby
xaxisx has quit [Client Quit]
BTRE has quit [Ping timeout: 246 seconds]
neo_ has quit [Remote host closed the connection]
mattwashere has joined #ruby
howard_ has joined #ruby
<orakar>
I think I've got the solution: I'll just call .unpack on the substring which contains the data I want :-)
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neo_ has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
pwnd_nsfw has joined #ruby
howard_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
aryaching has quit [Remote host closed the connection]
<TomyWork>
toretore ^
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
CloCkWeRX has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
nettoweb has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
<toretore>
TomyWork: where do you need to "include" this from?
<TomyWork>
no, i need to include something into this
<TomyWork>
and that "something" needs to have the ability to everything gitlab.rb is modifying there in the examples
<TomyWork>
and that "something" needs to have the ability to modify everything gitlab.rb is modifying there in the examples
ramfjord has joined #ruby
blackmesa has joined #ruby
<toretore>
so you want to, inside this file, "include" another that uses `gitlab_rails` etc?
<toretore>
unless whatever is executing that file has a mechanism for it, there is no reliable way to do it
nando293921 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<TomyWork>
no "require with binding" or something?
ChiefAlexander has joined #ruby
connor_goodwolf has quit [Ping timeout: 246 seconds]
skade has joined #ruby
<toretore>
it is likely that it is being read and instance_eval-ed by something, in which case you could do the same
<toretore>
it is more likely that there is a better way, but i can't say because i don't know the whole context of your use case
skade has quit [Client Quit]
<TomyWork>
does binding.eval(File.read('other.rb')) sound promising?
<toretore>
try it?
arnonhongklay has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 244 seconds]
<TomyWork>
i will, tomorrow :)
howard_ has quit [Quit: Leaving...]
<toretore>
it doesn't sound promising at all, it sounds like a very bad idea all of it, but it might "work"
aryaching has joined #ruby
<TomyWork>
hmmm
<TomyWork>
maybe i'll just make a copy and merge when i upgrade...
<toretore>
this kind of configuration has been made to be "user friendly" and "pretty", not logical and extensible
<TomyWork>
yeah
<TomyWork>
anyway, thanks for the advice :)
synthroid has quit [Remote host closed the connection]
aryaching has quit [Remote host closed the connection]
nertzy has quit [Ping timeout: 260 seconds]
l4v2 has quit [Quit: l4v2]
aryaching has joined #ruby
rodfersou is now known as rodfersou|lunch
arch__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
`tim` has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
aissar has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
saipal has quit [Quit: WeeChat 1.5]
dionysus69 has joined #ruby
l4v2 has joined #ruby
arnonhongklay has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
giz|work has joined #ruby
conta has quit [Ping timeout: 252 seconds]
tvw has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
tvw has joined #ruby
roamingdog has joined #ruby
mattwashere has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Ping timeout: 246 seconds]
connor_goodwolf has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
nankyokusei has joined #ruby
alfiemax has joined #ruby
solars has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
nando293921 has quit [Quit: Lost terminal]
chip_ has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
ramfjord has joined #ruby
Vingador has joined #ruby
kt2 has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
B1n4r10 has joined #ruby
douglascorrea has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
speakingcode has joined #ruby
chouhoulis has quit [Remote host closed the connection]
synthroid has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 240 seconds]
<hxegon>
Help me prepare an exit strategy; What would you, roughly, say is appropriate pay for a ruby dev with 1 year experience and only some rails experience?
diegoviola has joined #ruby
<centrx>
One dolla
roamingdog has joined #ruby
<hxegon>
centrx: about tree fiddy?
B1n4r10 has quit [Ping timeout: 260 seconds]
aganov has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
<shevy>
two dolla
evansbee has quit [Ping timeout: 260 seconds]
Silthias1 has joined #ruby
nettoweb has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 258 seconds]
ChiefAlexander has joined #ruby
chip_ has quit [Ping timeout: 276 seconds]
l4v2 has quit [Quit: l4v2]
<hxegon>
but seriously though, I would greatly appreciate any bounded minimums. I'm pretty insulated from other developers I can talk to, so you guys/gals are my only hope, obi-wan
tvon has quit [Quit: System is sleeping...]
<adam12>
hxegon: Depends a ton on market
<adam12>
NYC vs Idaho
workmad3 has joined #ruby
<adaedra>
Depends on many things
<hxegon>
California area
<hxegon>
any way I could narrow it down more?
aegis3121 has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
<hxegon>
I know nothing exists in a vacuum here, but I am really just looking for a rough estimate. Not going to hold anyone accountable if it's wrong
<shevy>
california is rich so people earn more and have to be paid more
aegis312_ has joined #ruby
TomyLobo has joined #ruby
tvon has joined #ruby
neo_ has joined #ruby
neo_ has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 240 seconds]
neo_ has joined #ruby
Es0teric has joined #ruby
polishdub has joined #ruby
CJKinni has quit [Remote host closed the connection]
neo__ has joined #ruby
douglascorrea has quit [Remote host closed the connection]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
blackmes1 has joined #ruby
douglascorrea has joined #ruby
codecop has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
neo_ has quit [Ping timeout: 250 seconds]
amclain has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Quit: This computer has gone to sleep]
Couch has quit [Ping timeout: 250 seconds]
voodoofish430 has joined #ruby
ullu has joined #ruby
whathappens has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
whathapp_ has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
aep-shoutlet has joined #ruby
Snowy has quit [Remote host closed the connection]
senayar has quit []
[Butch] has joined #ruby
ullu has quit [Ping timeout: 260 seconds]
Kruppe has quit [Read error: Connection reset by peer]
Kruppe- has joined #ruby
B1n4r10 has joined #ruby
sanjayu has quit [Ping timeout: 276 seconds]
whathappens has quit [Ping timeout: 276 seconds]
mattwashere has quit [Remote host closed the connection]
<smathy>
slash_nick, ^ remotemeetup.com still going?
aryaching has joined #ruby
nettoweb has joined #ruby
douglascorrea has quit [Remote host closed the connection]
tvon has joined #ruby
Silthias has quit [Quit: Leaving.]
consti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troulouliou_div2 has joined #ruby
sharkman has joined #ruby
tubuliferous has joined #ruby
<sharkman>
system("./make_ssh_connection"), how do i make this command run in background and disassociate (not end when my ruby program ends) not hijack the terminal i run this from
mfb2 has quit [Remote host closed the connection]
bb010g has joined #ruby
yardenbar has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
neo__ has quit [Remote host closed the connection]
Hyuk has joined #ruby
miqlas-H has joined #ruby
neo_ has joined #ruby
Hyuk has quit [Max SendQ exceeded]
thatsnotjack has quit [Ping timeout: 258 seconds]
douglascorrea has joined #ruby
harfangk has quit [Quit: harfangk]
douglascorrea has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
electrostat has joined #ruby
harfangk has joined #ruby
freerobby has joined #ruby
ta__ has quit [Ping timeout: 272 seconds]
electrostat has quit [Client Quit]
macsteps has quit [Remote host closed the connection]
pilne has joined #ruby
tvon has quit [Quit: System is sleeping...]
ta_ has joined #ruby
electrostat has joined #ruby
Devalo has joined #ruby
tvon has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
macsteps has joined #ruby
tvon has quit [Client Quit]
B1n4r10 has quit [Quit: leaving]
<pilne>
if i am comfortable with how virtualenv (python) works (and rvm), but would like to switch off of rvm because of how hyperagressive it is with various .files, would i be more comfortable with rbenv (+ bundler), or chruby, ruby-install, and bundler?
<smathy>
Either.
troulouliou_div2 has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
macsteps has quit [Remote host closed the connection]
<sharkman>
so i i run spawn("./connect_ssh.sh"), then in the terminal i run ruby it connects my terminal to the ssh destination. i want that run totally in the background
firstdayonthejob has joined #ruby
douglascorrea has joined #ruby
hahuang61 has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
<meatchicken>
Having trouble stubbing a service
<hxegon>
pilne both rbenv and chruby are improvements, but I would suggest trying both out.
<meatchicken>
I have a method in my model that instantiates a new service - how can I make the service return a fake value with rspec/
aegis312_ has quit [Read error: Connection reset by peer]
khelair has joined #ruby
Es0teric has joined #ruby
<c_nick>
got it thanks
chip_ has joined #ruby
c_nick has left #ruby [#ruby]
dc4 has joined #ruby
araujo_ has joined #ruby
nankyokusei has joined #ruby
aegis3121 has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
aegis312_ has joined #ruby
jaguarmagenta has joined #ruby
araujo has quit [Ping timeout: 252 seconds]
<shevy>
atmosx hmm not me, don't think I'd have time anyway
dc4 has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
ChiefAlexander has joined #ruby
l4v2 has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
aegis3121 has quit [Ping timeout: 276 seconds]
blackmes1 has joined #ruby
agit0 has joined #ruby
hahuang65 has joined #ruby
rodfersou|lunch is now known as rodfersou
jaguarmagenta has quit [Ping timeout: 276 seconds]
sha1sum has quit [Quit: Lost terminal]
ChiefAlexander_ has joined #ruby
djbkd has joined #ruby
ChiefAlexander has quit [Read error: Connection reset by peer]
memorasus has joined #ruby
macsteps has joined #ruby
yardenbar has quit [Ping timeout: 258 seconds]
solocshaw has quit [Ping timeout: 276 seconds]
electrostat has quit [Remote host closed the connection]
Wildfyr has joined #ruby
miskatonic has quit [Quit: miskatonic]
thatsnotjack has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
stoopidmunkey has joined #ruby
edwinvdgraaf has joined #ruby
evansbee has quit [Ping timeout: 258 seconds]
<ramfjord>
There's no idenitity function on object is there... I'm trying to think of the simplest way of checking for an array being all nil without allocating a new array.
<dn5>
cool.. whats the benchmark comprasio to my solution?
<havenwood>
yeah, no need to pull out just the query
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
<havenwood>
dn5: url[/(?<=url=)[^&]+/]
aegis3121 has joined #ruby
pLaToOn has joined #ruby
<dn5>
havenwood: cool
Fernando-Basso has joined #ruby
aegis312_ has joined #ruby
<pLaToOn>
moin
<havenwood>
pLaToOn: g'mornin'
djbkd has quit [Remote host closed the connection]
<slash_nick>
smathy: they're still up and running... talks almost weekly now. i believe they're partnering with daily drip (from knewter/jadams)
<smathy>
slash_nick, oh cool, last talk on the site (as a youtube video) seems to be the Trailblazer one from April?
houhoulis has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 252 seconds]
xall has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
jottr has joined #ruby
xall has joined #ruby
rbennace_ has joined #ruby
Xiti has quit [Quit: Xiti]
ekinmur_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
xall has quit [Read error: Connection reset by peer]
ta__ has joined #ruby
xall has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
ekinmur has joined #ruby
Devalo has joined #ruby
Xiti has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 260 seconds]
<dn5>
finally fucking works
<dn5>
smoke break approved
stoopidmunkey has quit [Remote host closed the connection]
freerobby has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
xall has quit [Read error: Connection reset by peer]
kavanagh has quit [Quit: That's all folks!]
chip_ has joined #ruby
futilegames has quit [Remote host closed the connection]
xall has joined #ruby
mattwashere has quit [Remote host closed the connection]
dc4 has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
pablo-dinella has quit [Quit: Leaving]
nankyokusei has joined #ruby
mistermocha has joined #ruby
jackjackdripper1 has joined #ruby
evansbee has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
rodfersou has joined #ruby
mattwashere has quit [Remote host closed the connection]
dc4 has quit [Ping timeout: 264 seconds]
kirun has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
Devalo has quit [Remote host closed the connection]
ta_ has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
ta__ has quit [Ping timeout: 264 seconds]
giz|work has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 264 seconds]
swills has quit [Ping timeout: 244 seconds]
gizmore has joined #ruby
archaicdemon has quit [Quit: Page closed]
pandaant has quit [Remote host closed the connection]
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
arescorpio has joined #ruby
whathappens has joined #ruby
dionysus69 has joined #ruby
sharkman has quit [Ping timeout: 250 seconds]
macsteps has joined #ruby
xall has quit [Read error: Connection reset by peer]
<slash_nick>
smathy: they've switched to bigmarker, thanks for the heads up i'll check with franze later and see why that is
xall has joined #ruby
<smathy>
Cool.
zacstewart has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
mistermocha has joined #ruby
rodfersou is now known as rodfersou|afk
ramfjord_ has joined #ruby
djbkd has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
ullu_ has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
maucar has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 272 seconds]
ullu_ has quit [Ping timeout: 258 seconds]
blackgoat has joined #ruby
mtkd has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
fmcgeough has quit [Quit: fmcgeough]
yardenbar has joined #ruby
neanderslob has joined #ruby
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
prestorium has quit [Quit: Leaving]
xall has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
xall has joined #ruby
<adam12>
What is everybody's preferred intro to ruby guide? I was pitched this question and it's been ages since I learned Ruby.
edwinvdgraaf has quit [Remote host closed the connection]
macsteps has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 244 seconds]
rbennace_ has quit [Remote host closed the connection]
<agent_white>
I thoroughly enjoy _why's guide. I recommend that, supplemented with Ruby Monks.
<agent_white>
:)
<adam12>
Why's guide was defacto, but I can't help but wonder if its not very approachable now a days
rodfersou|afk is now known as rodfersou
xall has quit [Read error: Connection reset by peer]
r_rios has joined #ruby
xall has joined #ruby
ur5us has joined #ruby
rbennacer has joined #ruby
Moosashi has joined #ruby
maucar has joined #ruby
maucar has quit [Remote host closed the connection]
<r_rios>
How can I iterate over an Array pair by pair? For example: [1, 2, 3, 4, 5].pairs{|p1, p2| print "(#{p2}, #{p2}) " } # prints (1, 2) (2, 3) (3, 4) (4, 5)
dhruvasagar has joined #ruby
jhack has joined #ruby
<havenwood>
r_rios: each_cons(2)
biberu has quit []
<havenwood>
(in place of `pairs`)
rbennacer has quit [Ping timeout: 240 seconds]
<r_rios>
havenwood: Thanks. Is there a "select" version of that method
<havenwood>
r_rios: looks like you have p2 twice there ^
SCHAAP137 has quit [Ping timeout: 276 seconds]
eljimador has joined #ruby
B1n4r10 has joined #ruby
B1n4r10 has quit [Client Quit]
Moosashi has quit [Quit: Moosashi]
codecop has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
synthroid has quit []
emiltin has quit [Quit: Computer has gone to sleep.]
eljimador has quit [Quit: Leaving]
DoubleMalt has quit [Remote host closed the connection]
<r_rios>
Thanks adaedra and havenwood
<adaedra>
yw
yardenbar has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
<havenwood>
yw
SCHAAP137 has joined #ruby
<khelair>
I'm having a ridiculous question here. I'm working on a machine freshly installed with ruby 2.x and assorted tools. I just got the mysql & mysql2 gems installed, and I was hoping they'd fix my problem
tummy has joined #ruby
<khelair>
problem being that sqllite is the only database whose configuration examples I'm seeing in the database.yml file
naftilos76 has joined #ruby
<khelair>
which is hampering my ability to follow the example in the ruby for rails book that I'm trying to learn from right now
<khelair>
anybody have any suggestions or pointers to helpful information? thanks in advance
pilne has quit [Quit: Quitting!]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta__ has joined #ruby
<havenwood>
khelair: You can generate your Rails app preconfigured for a different DB or change the conf/database.yml file.
pLaToOn has quit [Read error: Connection reset by peer]
<havenwood>
khelair: The #rubyonrails channel is dedicated to Rails.
<havenwood>
config/database.yml**
ta_ has quit [Ping timeout: 244 seconds]
isberg_ has joined #ruby
<khelair>
ah thank you sir
<havenwood>
rails new khelair -d mysql
<havenwood>
khelair: you're welcome
isberg has quit [Ping timeout: 240 seconds]
<khelair>
very much appreciated ;)
<dn5>
ai, how does one select nested value from JSON.parse()?
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smathy>
dn5, ['parent']['child'] is basically how you do it, so if you're not getting what you expect, maybe you need to make a gist to show what you're trying and getting.
<dn5>
smathy: right, thats what I thought .. one second
<smathy>
dn5, well the_object['parent']['child'] is.
<dn5>
I need to store it somewhere first before I can use it
polishdub has quit [Quit: Leaving]
<dn5>
havenwood: got any idea?
ledestin has joined #ruby
duncannz has joined #ruby
<havenwood>
dn5: I didn't follow what you have and what you want?
<bruce_lee>
and then
duncannz has quit [Max SendQ exceeded]
<bruce_lee>
myStringVar = $1
thatsnotjack has quit [Ping timeout: 240 seconds]
<havenwood>
dn5: Gist an example?
<bruce_lee>
first this is needed: /\/so (.+)/
<dn5>
havenwood: I have a case statement with when that will match above regex
<shevy>
bruce_lee come on!!!
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
neo_ has quit [Remote host closed the connection]
<dn5>
oh forget it
<dn5>
1AM
<dn5>
cant think properly
duncannz has joined #ruby
neo_ has joined #ruby
<havenwood>
dn5: Showing example data rather than explaining it would probably explain better. Sleep is good!
futilegames has quit [Quit: futilegames]
<havenwood>
"it is easier for humans to understand complex data compared with complex logic"
kareeoleez has quit [Remote host closed the connection]
<dn5>
havenwood: haha you are right
Rodya_ has joined #ruby
<dn5>
>> str = "/so something" case str when /\/so .+/ puts "Good."
jhack has quit [Quit: jhack]
<ruby[bot]>
dn5: # => /tmp/execpad-8a9074f4e693/source-8a9074f4e693:2: syntax error, unexpected keyword_case, expecting ke ...check link for more (https://eval.in/598077)
futilegames has joined #ruby
futilegames has quit [Client Quit]
arnonhongklay has quit [Remote host closed the connection]
<dn5>
>> str = "/so something" case str when /\/so .+/ puts "Good." end end
<ruby[bot]>
dn5: # => /tmp/execpad-fbde9c15c8f2/source-fbde9c15c8f2:2: syntax error, unexpected keyword_case, expecting ke ...check link for more (https://eval.in/598078)
<dn5>
something like that, Im not that good with irb
<dn5>
but it works
<dn5>
and I figured it out
neo_ has quit [Ping timeout: 244 seconds]
axl_ has left #ruby [#ruby]
ta_ has quit [Ping timeout: 276 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has quit [Remote host closed the connection]
dopamean_ has quit [Ping timeout: 246 seconds]
kirun has quit [Quit: Client exiting]
zenlot6 has joined #ruby
aegis312_ has quit [Ping timeout: 244 seconds]
zenlot has quit [Ping timeout: 272 seconds]
<dn5>
offtopic: Does anyone know of Ox0dea or something like that
<dn5>
he was hanging out on this channel
<dn5>
for a long time
<havenwood>
dn5: yup yup
<dn5>
hes a cool guy
<dn5>
havent seen him here lately
solocshaw has joined #ruby
karapetyan has quit [Remote host closed the connection]
jottr has joined #ruby
karapetyan has joined #ruby
cdg has joined #ruby
minimalism has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
<shevy>
adaedra kicked him and I guess he did not come back again
electrostat has quit [Client Quit]
electrostat has joined #ruby
maucar has joined #ruby
solocshaw has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby
<dn5>
did he deserve it
<dn5>
also thats sad to hear, he was one of these I could remember helping everyone no matter what
dminuoso has joined #ruby
<shevy>
lemme search the channel log
firstdayonthejob has quit [Ping timeout: 276 seconds]
pilne has quit [Quit: Quitting!]
<dn5>
thank you
maucar has quit [Client Quit]
bmurt has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
<shevy>
and also I fail with webinterfaces in general
<agent_white>
This feels like a murder mystery! weee!
* agent_white
giggles
<shevy>
irclog.whitequark.org was especially weird... "143 pages"... text overflowing onto the next line making it hard to click on the blue links 139 140 141 142 etc...
bhaak has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
<dn5>
agent_white: you truly are an agent!
<dn5>
feds, we got feds
<dn5>
still not a reason to kick him
<agent_white>
Nah agent_black hasn't been around lately, luckily.
<agent_white>
;)
<dn5>
i mean, that man got some respect
pilne has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
mistermocha has quit [Remote host closed the connection]
<shevy>
I always associate agent_white with the Matrix
mistermocha has joined #ruby
spiette has quit [Ping timeout: 260 seconds]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
speakingcode has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
<karapetyan>
hi, why in array i have not expected vaues?
<tossup>
I have a question, I'm new on Ruby and Have downloaded a gems for zip files but are in vendor_ruby folder and when i call her with: > require 'zip' says that "LoadError: cannot load such file -- zip". What's wrong?
<tossup>
havenwood: I have a question, I'm new on Ruby and Have downloaded a gems for zip files but are in vendor_ruby folder and when i call her with: > require 'zip' says that "LoadError: cannot load such file -- zip". What's wrong?
<dn5>
tossup: did you install the gem globally? also dont repeat your questions
<dn5>
and dont ping
Snowy has quit [Remote host closed the connection]
memorasus has quit [Ping timeout: 272 seconds]
mistermocha has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
<dn5>
:q
<dn5>
oups
<havenwood>
tossup: how'd you install the gem? using bundler?
<tossup>
Just I installed her with apt "apt install ruby-zip"
<tossup>
Then if I import for example the Library of base64 and i want to see the methods of that class how do it? For example on Python: > import base64 and then dir(base64) that show me all the base64 functions
korzybski has quit [Quit: korzybski]
<tossup>
On ruby how would be?
<karapetyan>
generate_names should return array ["B","C","D","E","F"], instead i got ["F","F","F","F","F"]