arohner has quit [Remote host closed the connection]
arohner_ has joined #rubygems
seanlinsley has joined #rubygems
jpfuentes2 has joined #rubygems
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
huoxito has quit []
seanlinsley has quit [Quit: seanlinsley]
seanlinsley has joined #rubygems
jpfuentes2 has joined #rubygems
davispuh has quit [Remote host closed the connection]
kai3x5 has joined #rubygems
kai3x5 has quit [Quit: Textual IRC Client: www.textualapp.com]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #rubygems
rootavish has joined #rubygems
<rootavish> ERROR: Could not find a valid gem 'jekyll' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz) ERROR: Possible alternatives: jekyll
<rootavish> can anybody solve this problem for me
<rootavish> or at least tell me why this is
<rootavish> this is on archlinux,gem version 2.2.2
rootavish has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arohner_ has quit [Remote host closed the connection]
ivan has left #rubygems [#rubygems]
nirix has joined #rubygems
lsegal has joined #rubygems
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tenderlove has joined #rubygems
havenwood has quit []
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubygems
jpfuentes2 has joined #rubygems
seanlinsley has quit [Ping timeout: 245 seconds]
tcopeland has quit [Quit: Leaving.]
tenderlove has quit [Ping timeout: 258 seconds]
seanlinsley has joined #rubygems
tenderlove has joined #rubygems
seanlinsley has quit [Ping timeout: 250 seconds]
tenderlove has quit [Read error: Connection reset by peer]
seanlinsley has joined #rubygems
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #rubygems
coder_neo has joined #rubygems
coder_neo has quit [Quit: Leaving]
tcopeland has joined #rubygems
kai3x5 has joined #rubygems
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kai3x5 has quit [Client Quit]
tbuehlmann has joined #rubygems
huoxito has joined #rubygems
luislavena has joined #rubygems
shtirlic_ has quit [Quit: ZNC - http://znc.in]
shtirlic has joined #rubygems
shtirlic has quit [Client Quit]
davispuh has joined #rubygems
shtirlic has joined #rubygems
tenderlove has joined #rubygems
tenderlove has quit [Remote host closed the connection]
jpfuentes2 has joined #rubygems
seanlinsley has quit [Quit: seanlinsley]
shtirlic has quit [Quit: ZNC - http://znc.in]
shtirlic has joined #rubygems
shtirlic has quit [Client Quit]
adammcarth has joined #rubygems
<adammcarth> hey guys :)
shtirlic has joined #rubygems
<adammcarth> I was thinking about forking rubygems.org and adding a "Stay signed in?" feature to the user sessions, is there any reason why this hasn't been done yet?
Briareos1 has joined #rubygems
stevenharman has joined #rubygems
almostwhitehat has joined #rubygems
seanlinsley has joined #rubygems
kai3x5 has joined #rubygems
nomadic has quit [Ping timeout: 246 seconds]
kai3x5 has quit [Client Quit]
nomadic has joined #rubygems
mkristian has joined #rubygems
mkristian_ has joined #rubygems
mkristian_ has quit [Remote host closed the connection]
nomadic has quit [Quit: -bye-]
nomadic has joined #rubygems
luislavena has quit []
nomadic has quit [Quit: -bye-]
nomadic has joined #rubygems
nomadic has quit [Changing host]
nomadic has joined #rubygems
nomadic has quit [Quit: -bye-]
nomadic has joined #rubygems
nomadic has quit [Changing host]
nomadic has joined #rubygems
adammcarth has quit []
bbrowning_away has quit [Quit: Leaving]
havenwood has joined #rubygems
mkristian has quit [Quit: bye]
dwknoxy has joined #rubygems
huoxito has quit [Remote host closed the connection]
x1337807x has joined #rubygems
x1337807_ has joined #rubygems
stevenharman has quit [Quit: Leaving...]
stevenharman has joined #rubygems
x1337807x has quit [Ping timeout: 265 seconds]
x1337807_ has quit [Ping timeout: 265 seconds]
arohner has joined #rubygems
nomadic has quit [Ping timeout: 246 seconds]
arohner has quit [Remote host closed the connection]
nomadic has joined #rubygems
nomadic has quit [Changing host]
nomadic has joined #rubygems
huoxito has joined #rubygems
x1337807x has joined #rubygems
arohner has joined #rubygems
arohner has quit [Remote host closed the connection]
arohner has joined #rubygems
jpfuentes2 has quit [Read error: Connection reset by peer]
jpfuentes2 has joined #rubygems
arohner has quit [Ping timeout: 245 seconds]
zeddy has joined #rubygems
* zeddy waves
<zeddy> Greetings, fine people
<zeddy> I'm in the process of creating a small gem for a school project, and I'm rather new to the whole deal so there are a lot of things I'm not sure of
<zeddy> I've got a lot up and going playing along with a couple of tutorials, but I've hit a roadblock that's kind of hard to google up
<zeddy> and so I turn here
<zeddy> I would like for my gem, when invoked, to create a database table related to the activerecord model using it
<zeddy> so if,TheModel calls acts_as_my_gem
<zeddy> I'd like to establish a related table called my_gem_for_the_models or something in that vein
Briareos1 has quit [Remote host closed the connection]
<zeddy> Googling permutations of "ActiveRecord" and "Ruby Gems" have proved less than helpful :<
<indirect> zeddy: your idea of "invoked" is really vague, and having a gem that requires a database table sounds mildly insane :)
<zeddy> I've seen carrierwave do it for instance
<indirect> your gem might contain an executable that when run, reads a configuration file to know how to talk to a database, and then runs activerecord migrations that ship with your gem?
<indirect> that's not a gem, that's a rails engine
<indirect> (which is a type of gem)
<zeddy> All these terms .<
<zeddy> I just put it in my Gemfile :<
<indirect> if you're writing something that plugs into rails that's totally different than writing a gem that stands alone
<indirect> there are a lot of terms mostly because this stuff is really complicated :(
<zeddy> would it be easier to make columns?
<indirect> if you're interested in writing a gem that is a rails engine, I highly suggest Jose Valim's book Crafting Rails Applications
<zeddy> The gem needs to store some variables somehow
<indirect> if you just want to copy carrierwave, copy the code from carrierwave :)
<indirect> read a configuration file?
<zeddy> it needs to store variables for each and every instance that uses it
<indirect> I think maybe you're asking questions that are too specific for me to help you with a suggestion for your actual end goal :)
arohner has joined #rubygems
<indirect> I don't know what an instance that uses it is
<zeddy> Well okay
<zeddy> I guess I can explain the purpose
<zeddy> The end-goal is an algorithm that changes the price of a thingamajig based on how many purchases and sales it has
<zeddy> to this end, I think I should have a way to store the amount of purchases and sales since the algorithm last ran
<zeddy> as well as when that was
<indirect> and you need this to be a gem? it sounds like it could be just a few lines of code inside a rails app that already exists?
<zeddy> Yes, it could
<zeddy> unfortunately, it's a stand-alone project
<zeddy> that's like
<zeddy> outsourced from a company to my school
<indirect> if you want a gem with an executable that can be run, sounds like you should just use files to store the data
<zeddy> I suppose I could just put 'make such and such columns' in the readme, but it feels like giving up
tbuehlmann has quit []
<indirect> I have no idea why you would want to deal with the agony of activerecord just to get some numbers loaded
<zeddy> I was unaware there was agony related to activerecord
<zeddy> Care to elaborate?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #rubygems
x1337807x has quit [Client Quit]
stevenharman has quit [Quit: Leaving...]
<zeddy> oh
<zeddy> that wasn't actually hard or anything
<zeddy> I just put ActiveRecord::Schema define in acts_as_my_gem and that let me create a table
<zeddy> Could've just told me to do that
zeddy has left #rubygems ["Leaving"]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #rubygems
x1337807x has joined #rubygems
tcopeland has quit [Quit: Leaving.]
alindeman has joined #rubygems
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
almostwhitehat has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
seanlinsley has quit [Quit: seanlinsley]
arohner has quit [Remote host closed the connection]
arohner_ has joined #rubygems
huoxito has quit [Remote host closed the connection]
tcopeland has joined #rubygems
seanlinsley has joined #rubygems
x1337807x has joined #rubygems
arohner_ has quit [Remote host closed the connection]
arohner_ has joined #rubygems
huoxito has joined #rubygems
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]