AriT93 has quit [Remote host closed the connection]
weaksauce has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
ansimita has left #ruby [#ruby]
ansimita has joined #ruby
curdlesnoot has joined #ruby
goepsilongo has joined #ruby
goepsilongo has quit [Client Quit]
curdlesnoot has quit [Quit: = ""]
Rounin has quit [Ping timeout: 265 seconds]
P1RATEZ has joined #ruby
michigan has quit [Quit: Connection closed for inactivity]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
michigan has joined #ruby
reset has quit [Quit: reset]
ur5us has quit [Ping timeout: 240 seconds]
Guest9 has joined #ruby
P1RATEZ has quit [Remote host closed the connection]
jetchisel has joined #ruby
bandithijo has joined #ruby
Guest9 has quit [Quit: Client closed]
teclator has joined #ruby
Bounga has joined #ruby
_ht has joined #ruby
shokohsc has joined #ruby
Garo_ has joined #ruby
<Garo_>
I have a Rails app which uses a gem. I want to modify this gem so that I can eventually send a github pull request. What's the right way of having a development version of this gem (aka. git clone) so that my rails app will use this gem, without having to repackage the gem every time I do a change?
reset has joined #ruby
bandithijo has quit [Ping timeout: 255 seconds]
michigan has quit [Quit: Connection closed for inactivity]
ua_ has quit [Read error: Connection reset by peer]
<adam12>
Tuor: Case would be fine here. You can case on `Integer`, fyi.
<Tuor>
Ah that's better. Thank you!
<adam12>
Tuor: `when Integer then @values[selector]`
<adam12>
Tuor: Anything that responds to `===` can be used.
<Tuor>
thank you! :)
<adam12>
Garo_: Clone the gem locally, then use `gem "name of gem", path: "/path/to/your/local/copy"` in your Gemfile.
<adam12>
Garo_: There's also a Bundler option that you could use, but I'll leave that to you to find. It's something like `bundle config gemname.path /path/to/your/local/copy`.
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
it’s not clear how it’d work here, with “itself” being the value just tempted to use a Hash for this type of preknown value but maybe not quite a match.