x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nurihodges has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jds has quit [Quit: Connection closed for inactivity]
havenn has joined #bundler
havenn has quit [Remote host closed the connection]
havenwood has quit []
nurihodges has joined #bundler
x1337807x has joined #bundler
x1337807x has quit [Client Quit]
Cidan is now known as zz_Cidan
nurihodges has quit [Remote host closed the connection]
havenwood has joined #bundler
huoxito has quit [Remote host closed the connection]
iamjarvo has joined #bundler
livingstn has quit [Ping timeout: 240 seconds]
rgb-one has joined #bundler
<rgb-one>
Hello
huoxito has joined #bundler
huoxito has quit [Ping timeout: 245 seconds]
<havenwood>
hi
<rgb-one>
Hey how are you?
<rgb-one>
I am planning to apply for the GSoC for one of the bundler project ideas
<rgb-one>
I thought I would drop in to say hello and ask a few questions
<havenwood>
rgb-one: ah, neat! I'm not sure who's all around right now to answer questions.
<rgb-one>
havenwood: ah ok, are you a main developer
<havenwood>
indirect: ping ^
<havenwood>
rgb-one: No, I'm not at all.
<havenwood>
rgb-one: Do you know what you might work on with Bundler or looking for ideas?
<rgb-one>
havenwood: I actually have chosen an idea from the current list
<rgb-one>
havenwood: I am interested in the project about maintaining bundler
<havenwood>
tmoore: ping ^
<havenwood>
rgb-one: Nice.
<rgb-one>
havenwood: what projects do you use bundler with?
<havenwood>
rgb-one: indirect and tmoore are probably who you'll want to talk to. they're the contacts for potential mentors.
<havenwood>
rgb-one: I use it for gems and apps. Pretty much anywhere there's Ruby.
<rgb-one>
havenwood: What can you tell me about your general experince with bundler?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
rgb-one: Hmm. I'm used to it being a dependency in apps. It's one of those gems that is ubiquitous.
<havenwood>
rgb-one: It's also a convenience for gems. It helps you get deps quickly worked out so you can run the tests and get cracking.
<havenwood>
rgb-one: You commit the Gemfile.lock for apps but not for gems. So for apps you're using the exact same bundle as other devs.
<havenwood>
rgb-one: My experience has been positive.
<havenwood>
rgb-one: Helping maintain chruby and RVM I've seen a bunch of Bundler-related questions. The former forget to prepend `bundle exec` and the latter don't know it's being automagically done for them.
<havenwood>
rgb-one: (RVM uses rubygems-bundler by default which prepends `bundle exec` to commands when there's a Gemfile.)
huoxito has joined #bundler
<havenwood>
rgb-one: It's also useful for generating new gems and running common gem tasks. There're other tools that do the same but Bundler does it well.
huoxito has quit [Ping timeout: 264 seconds]
<rgb-one>
havenwood: I am new to bundler and ruby so I will have to get up to speed by using it. Great info you have provided thus far feel free to continue, I am reading.
<havenwood>
rgb-one: Features from Bundler are gradually being added to RubyGems (which ships with Ruby). The projects are moving towards and eventual, distant future merger.
<rgb-one>
Do you have any suggestions as to what project I could work on that makes most use of Bundler's capabilities? I have a list of potential projects but I would like your input.
<havenwood>
rgb-one: What all are you considering?
<rgb-one>
I may go with a URL shortner
<havenwood>
rgb-one: How would that work? I'm not sure I follow.
<havenwood>
rgb-one: Ah, you mean creating a gem with Bundler?
<rgb-one>
I was requesting you propose a small project that a newbie could work on to get up to speed with bundler and ruby.
<havenwood>
rgb-one: Aha. There're kind of two tracks to get familiar with. Using Bundler with a gem and with an app.
<havenwood>
rgb-one: I'd suggest creating a Rack app with a Gemfile and also generating a gem with Bundler.
<havenwood>
rgb-one: You can generate a gem with the `bundle gem gem_name_here` command. Check out: bundle help gem
<Radar>
rgb-one: Build a gem that you can use to post messages on Twitter.
<havenwood>
rgb-one: And for Rack apps, here're a bunch of Hello Worlds done in various Rack adapters with a mega-Gemfile. You could take just one of the .ru rackup files and put it in a directory with a simple Gemfile to experiment: https://github.com/luislavena/bench-micro#readme
<havenwood>
rgb-one: Or there are good Sinatra/Bundler tutorials (Sinatra is one of the popular Rack adapters). I don't know if you're familiar with Rack.
<rgb-one>
no I have no experience with ruby
<havenwood>
rgb-one: Rack is a gem. You can install it with: gem install rack
<rgb-one>
however I know what sinatra is
<havenwood>
rgb-one: Sinatra is one of many Rack adapters. As is Rails.
<havenwood>
rgb-one: You can make a pure Rack app, but it's a bit verbose. There's an example amongst those I linked. ^
<havenwood>
rgb-one: Rack ships with the `rackup` executable for running Rack apps.
<havenwood>
rgb-one: By default it'll use WEBrick, which ships with Ruby, as the web server. You can very simply swap out WEBrick for Puma, Thin, Unicorn, Passenger or other Rack web servers.
<havenwood>
rgb-one: Though you can point any of these Rack webservers directly at port 80, and folk do, it's popular to reverse proxy to the Rack webserver from nginx or apache.
<havenwood>
That way nginx or apache can handle buffering of slow clients, load balancing or serving up static files quickly - depending on what's needed.
<havenwood>
There're pure Ruby options but it's handy, fast and reliable to reverse proxy so it's common.
<havenwood>
rgb-one: So if you have a Gemfile that has `source 'https://rubygems.org'; gem 'sinatra'` and you `bundle` you can then `bundle exec rackup` to run your app in the context of your bundle.
<havenwood>
rgb-one: Bundler will fetch and install dependencies when you `bundle` (or its alias `bundle install`). So it'll install Sinatra as well as Rack, etc.
<havenwood>
rgb-one: Anyways, if you're making a Twitter posting gem don't worry about Rack apps for now. But I'd suggest doing that next.
<rgb-one>
Interesting stuff. I will give the Twitter poster a go.
<havenwood>
rgb-one: #ruby and #ruby-lang are other good places to ask questions if you get stuck.
<havenwood>
rgb-one: Happy gem cutting! :D
<rgb-one>
:)
<rgb-one>
Thanks havenwood thats all from me for now. I will be back later. Take care :)
Olipro has quit [Ping timeout: 272 seconds]
Olipro has joined #bundler
lele is now known as Guest24
relix has joined #bundler
xprime has quit [Ping timeout: 255 seconds]
prime has joined #bundler
kangguru_away is now known as kangguru
Guest24 is now known as lele
rgb-one has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
relix has joined #bundler
StevenJack has joined #bundler
StevenJa1k has joined #bundler
StevenJack has quit [Ping timeout: 276 seconds]
alextheger has joined #bundler
kangguru is now known as kangguru_away
kangguru_away is now known as kangguru
alextheger has quit [Quit: alextheger]
huoxito has joined #bundler
huoxito has quit [Ping timeout: 250 seconds]
kangguru is now known as kangguru_away
kangguru_away is now known as kangguru
_ixti_ has quit [Ping timeout: 240 seconds]
_ixti_ has joined #bundler
kangguru is now known as kangguru_away
kangguru_away is now known as kangguru
StevenJa1k has quit [Ping timeout: 276 seconds]
StevenJack has joined #bundler
StevenJack has quit [Read error: Connection reset by peer]
StevenJack has joined #bundler
huoxito has joined #bundler
iamjarvo has joined #bundler
Pupeno has quit [Remote host closed the connection]
havenwood has joined #bundler
stef1a has joined #bundler
ixti has joined #bundler
_ixti_ has quit [Ping timeout: 256 seconds]
stef1a has quit [Ping timeout: 264 seconds]
stef1a has joined #bundler
markolson has joined #bundler
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has joined #bundler
livingstn has joined #bundler
stef1a has quit [Ping timeout: 246 seconds]
Pupeno has joined #bundler
stef1a has joined #bundler
stef1a has quit [Ping timeout: 245 seconds]
thumpba__ has joined #bundler
thumpba__ has quit [Remote host closed the connection]
zz_Cidan is now known as Cidan
kangguru is now known as kangguru_away
RedHotFireBall has joined #bundler
stef1a has joined #bundler
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #bundler
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RedHotFireBall has quit [K-Lined]
Pupeno has quit [Quit: Leaving...]
RedHotFireBall has joined #bundler
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0/2015022000]]
RedHotFireBall has quit [K-Lined]
StevenJack has quit [Ping timeout: 276 seconds]
oshosurya_ has joined #bundler
<oshosurya_>
hey anybody here to help about gsoc 2015 ruby projects?
<havenwood>
Which I can't seem to join apparently because I've had a Bundler Slack account that has been deleted? At least that's what Slack is saying.
<havenwood>
I'm banished. :(
robbyoconnor has quit [Ping timeout: 264 seconds]
stef1a has quit [Ping timeout: 244 seconds]
kangguru_away is now known as kangguru
arup_r has joined #bundler
stef1a has joined #bundler
rgb-one has joined #bundler
<rgb-one>
Hello
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0/2015022000]]
rgb-one has quit [Ping timeout: 250 seconds]
kangguru is now known as kangguru_away
robbyoconnor has joined #bundler
robbyoconnor has quit [Client Quit]
stef1a has quit [Ping timeout: 240 seconds]
stef1a has joined #bundler
huoxito has quit [Ping timeout: 252 seconds]
huoxito has joined #bundler
iamjarvo has joined #bundler
relix has joined #bundler
stef1a has quit [Ping timeout: 245 seconds]
stef1a has joined #bundler
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
livingstn has quit []
huoxito has quit [Remote host closed the connection]
aendruk has left #bundler ["Part 0.4.2"]
iamjarvo has joined #bundler
stef1a has quit [Ping timeout: 246 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]