indirect changed the topic of #bundler to: Docs! http://bundler.io | Problems? http://bit.ly/bundler-issues | How to help: http://bit.ly/bundler-development | API Dashboard http://cl.ly/SBoH | #bundler logs: http://bit.ly/bundler-logs | Questions will be answered eventually, so hang out for a while
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
houhoulis has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
huoxito has quit []
_djbkd has quit [Quit: My people need me...]
Scrivener has joined #bundler
Scrivener has quit [Ping timeout: 246 seconds]
houhoulis has quit [Remote host closed the connection]
_djbkd has joined #bundler
relix has joined #bundler
relix has quit [Ping timeout: 260 seconds]
_djbkd has quit [Remote host closed the connection]
adac has joined #bundler
gingray has joined #bundler
<gingray> Hi everybody. I've faced with problem when i do Bundler.require :default, :test in my spec_helper.rb. Bundler seems to require nothing
<gingray> It's not rails app just usual script
Gidogeek has joined #bundler
Pupeno has joined #bundler
samphippen has joined #bundler
gregkare has left #bundler [#bundler]
gingray has quit [Ping timeout: 265 seconds]
Gidogeek has quit [Quit: (null)]
gingray has joined #bundler
<gingray> Anyone can help with my issue ?
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> gingray: well, how do you assess your claim? check $LOADED_FEATURES after. Also make sure you actually do have gems in the default (none specified) and test groups
<gingray> jhass: Thanks for ur response. Yes i've activerecord, sqlite3 and active-import in my gem file without any section
<gingray> jhass: check $LOADED_FEATURES no of my gems where loaded
<gingray> jhass: my Gemfile http://pastebin.com/neqTYzDi my spec file http://pastebin.com/Z59bHRms
<gingray> jhass: spec i mean spec_helper.rb
<jhass> mmh, that should work, I'd only have the nitpick of require "rubygems" being redundant since Ruby 1.9
<jhass> you did put p $LOADED_FEATURES on line 4 and got an array printed that contained bundler.rb among others but no activerecord.rb ?
<gingray> jhass: yes right
<jhass> that's weird
<jhass> are you sure the right Gemfile gets picked up? any application preloader stuff running?
<jhass> any chance you make say a small github repo that reproduces the issue for you?
<gingray> jhass: how can i checkout this ?
<gingray> jhass: now i'm not sure in everything
<gingray> jhass: couple of weeks it works fine but now something happened and i don't know what seems like bad magic
<gingray> jhass: also one remark active-import gem using activerecord and when gem is loaded via bundler i get an error like uninitialized constant ActiveRecord
<jhass> what's the output of p Bundler.environment.dependencies there?
<jhass> gingray: ^
<jhass> also p Bundler.settings
robbyoconnor has quit [Ping timeout: 265 seconds]
<jhass> and p Bundler.default_gemfile while we're at it
<gingray> jhass: http://pastebin.com/EfQJbgq5 here the output
<gingray> jhass: everything seems to be fine
<gingray> jhass: i mean paths
<jhass> that's missing the first :)
<jhass> explicit require "activerecord" works too?
<gingray> jhass: you mean if just use require 'active-record' ?
<jhass> it's require "activerecord" (that's the require bundler will attempt), but yes
<gingray> jhass: if use require construction everything works fine
<gingray> jhass: but if use bundler seems nothing to work but it works some time ago
<jhass> you're on latest bundler? 1.10.6?
<gingray> jhass: yes
<jhass> well, I can't see any issue with bundler or your setup there. Unless you can upload a testcase to reproduce I'm not sure what anybody can do from here
<gingray> jhass: i can send you whole solution (its about couple of files)
<gingray> jhass: if you have time of course to check this out
<gingray> jhass: i'll be really appreciated if you have
<jhass> it would be good to have a github repo if it indeed is a bug with bundler, so we can report a proper issue
<gingray> jhass: ok let me push it in a repo
<gingray> jhass: in main idea its one time script for retrieve taxonomy information from file -> sqlite -> file
jds has joined #bundler
<jhass> gingray: whoa, I never realized activerecord doesn't ship with activerecord.rb
<jhass> gingray: but that means you never tried what I suggested: require "activerecord", you changed it in some way
<gingray> jhass: to require active record need to use require 'active_record'
<jhass> gingray: http://p.jhass.eu/a.diff should get you further
<gingray> jhass: in taxonomy.rb i explicitly require active record
<jhass> well then that's not loaded or not early enough
<jhass> great, and activerecord-import fails to require active record on its own
<gingray> jhass: thanks you a lot now it works
<jhass> gingray: http://p.jhass.eu/b.diff gets to spec failures for me
<gingray> jhass: can you plz explain what was the issue ?
<gingray> jhass: yes i toggle this lines and everything star working
<jhass> the first issue was that the gem activerecord still doesn't provide a activerecord.rb, Bundler.require uses require "gemname" by default
<gingray> jhass: thanks a lot
<gingray> jhass: thats mean that i need explicitly use require yes ?
<jhass> we tell it the working filename explicitly with the require: "active_record" option
<jhass> gingray: well, yes and no. No for inside spec_helper where you have Bundler.require
<jhass> gingray: but a good citizen gem should explicitly require its dependencies in the main code, so yes
<jhass> which leads us to the second issue, activerecord-import is a bad citizen and doesn't do so, so we need to make sure active_record is required before it
<gingray> jhass: resume this things i need explicitly require active_record in Gemfile and put it before active-import which assume that active record already required
<gingray> jhass: am i right ?
<jhass> I don't follow
<jhass> you should have the Gemfile like I've shown with my diff
<jhass> that'll work for running the specs
<gingray> jhass: thanks 100 stars for you sorry for my bad english
<jhass> you should have require "active_record"; require "activerecord/import" in your gems entry point nonetheless
<gingray> jhass: lets remove my shame code from github
<jhass> require "activerecord-import" actually since that one fucked up on conventions fully
<gingray> jhass: seems its a reason for pull request for them
<jhass> http://guides.rubygems.org/name-your-gem/ if you need a reference to argue
<gingray> jhass: you mean for activerecord argumentation ?
<jhass> to argue establishing the proper conventions
<gingray> jhass: hope find time to let them know
<gingray> jhass: one more time thanks!
samphippen has joined #bundler
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #bundler
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Read error: Connection reset by peer]
valarissa has joined #bundler
Scrivener has joined #bundler
kellabyte_ is now known as kellabyte
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #bundler
tbuehlmann has quit [Ping timeout: 260 seconds]
valarissa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tbuehlmann has joined #bundler
ntucker has joined #bundler
halorgium_ has joined #bundler
jhass|off has joined #bundler
Olipro_ has joined #bundler
valarissa has joined #bundler
Olipro has quit [*.net *.split]
jhass has quit [*.net *.split]
ntucker_ has quit [*.net *.split]
bf4_ has quit [*.net *.split]
halorgium has quit [*.net *.split]
Olipro_ is now known as Olipro
jhass|off is now known as jhass
halorgium_ is now known as halorgium
bf4 has joined #bundler
gingray has quit [Ping timeout: 265 seconds]
jrafanie has joined #bundler
_djbkd has joined #bundler
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #bundler
maletor has joined #bundler
maletor has quit [Client Quit]
huoxito has joined #bundler
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #bundler
adac has quit [Remote host closed the connection]
huoxito_ has joined #bundler
huoxito has quit [Ping timeout: 244 seconds]
Pupeno has quit [Remote host closed the connection]
valarissa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
valarissa has joined #bundler
valarissa has quit [Client Quit]
samphippen has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
relix has joined #bundler
valarissa has joined #bundler
robbyoconnor has joined #bundler
slash_quit is now known as slash_nick
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has joined #bundler
Pupeno has quit [Remote host closed the connection]
maletor has joined #bundler
Pupeno has joined #bundler
robbyoconnor has quit [Quit: Konversation terminated!]
Pupeno has quit [Ping timeout: 250 seconds]
Pupeno has joined #bundler
Pupeno has joined #bundler
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
valarissa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
robbyoconnor has joined #bundler
_djbkd has joined #bundler
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #bundler
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #bundler
robbyoconnor has joined #bundler
robbyoconnor has quit [Changing host]
jrafanie has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #bundler
robbyoconnor has quit [Client Quit]
Scrivener has quit [Quit: Leaving]
huoxito_ has quit [Remote host closed the connection]
_whitelogger has joined #bundler
huoxito_ has joined #bundler
huoxito has quit [Ping timeout: 240 seconds]