dknox has quit [Quit: Computer has gone to sleep.]
havenwood has joined #rubygems
tcopeland has joined #rubygems
havenwood has quit [Ping timeout: 240 seconds]
woollyams has quit [Ping timeout: 252 seconds]
Sc0rp10n has quit [Quit: Leaving]
postmodern has joined #rubygems
<postmodern>
drbrain, what do you think about making #!/usr/bin/env ruby the default, and enable explicit #!/path/to/ruby when the ruby executable is not 'ruby'?
<postmodern>
drbrain, such as when ruby is configured with a --program-suffix
<postmodern>
hmm nevermind, suppose that would cause issues if you had two different rubies installed into /usr and /usr/local
mjc_ has quit [Ping timeout: 240 seconds]
mjc__ has joined #rubygems
aquaranto has joined #rubygems
havenwood has joined #rubygems
JSharp has quit [Ping timeout: 240 seconds]
JSharp_ has joined #rubygems
seanlinsley has joined #rubygems
woollyams has joined #rubygems
redmenace has joined #rubygems
redmenace has quit [Ping timeout: 264 seconds]
jnoon_ has joined #rubygems
jnoon has quit [Ping timeout: 264 seconds]
jnoon_ has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
dvu has quit [Remote host closed the connection]
jnoon has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
woollyams has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 244 seconds]
woollyams has joined #rubygems
dvu has joined #rubygems
dvu has quit [Ping timeout: 246 seconds]
havenwood has joined #rubygems
dvu has joined #rubygems
woollyams has quit [Ping timeout: 252 seconds]
JSharp_ is now known as JSharp
JSharp has quit [Changing host]
JSharp has joined #rubygems
imperator has joined #rubygems
woollyams has joined #rubygems
imperator has quit [Quit: Leaving]
jnoon has joined #rubygems
dvu has quit [Read error: Connection reset by peer]
jnoon has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
woollyams has quit [Ping timeout: 252 seconds]
postmodern has quit [Quit: Leaving]
woollyams has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
redmenace has joined #rubygems
redmenace has quit [Ping timeout: 264 seconds]
aquaranto has quit [Remote host closed the connection]
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #rubygems
joelroa has joined #rubygems
indirect has quit [Quit: Oh, bother.]
indirect has joined #rubygems
aquaranto has joined #rubygems
woollyams has quit [Ping timeout: 252 seconds]
aquaranto has quit [Ping timeout: 246 seconds]
woollyams has joined #rubygems
jnoon_ has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
tbuehlmann has joined #rubygems
jnoon has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
jnoon_ has quit [Read error: Connection reset by peer]
jnoon_ has joined #rubygems
redmenace has joined #rubygems
redmenace has quit [Ping timeout: 244 seconds]
woollyams has quit [Ping timeout: 252 seconds]
jaimef has quit [Excess Flood]
jaimef has joined #rubygems
indirect has quit [Ping timeout: 246 seconds]
indirect has joined #rubygems
jstr_ has quit [Quit: Computer has gone to sleep.]
woollyams has joined #rubygems
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #rubygems
guilleiguaran has quit [Quit: Connection closed for inactivity]
dvu has joined #rubygems
lxsameer has joined #rubygems
<lxsameer>
hey guys how can i remove a yanked gem completely ( please don't point to that video on rubygems.org )
<Jeff_D>
When building a Gem, how can I specify a dependency in the .gemspec that needs to be pulled from another source (in this case, rails-assets.org)?
<Jeff_D>
or is this just for the site/infrastructure, not support? Sorry
<dwradcliffe>
Jeff_D: it's usually a bit of both :)
<Jeff_D>
ok… if anybody has any ideas, I'd be grateful; if I'm adding to the noise, sorry :P
<dwradcliffe>
Jeff_D: I think you will probably just need to instruct your users to add the source for your gem to work
<Jeff_D>
ok, but when I do a `rake build` in my Gem project directory, I get an error that the dependency cannot be resolved; are you saying that I shouldn't list non-rubygems.org dependencies at all?
<dwradcliffe>
do you have the source in your Gemfile?
<Jeff_D>
Yes, and I still get the error when I run `rake build`
<dwradcliffe>
hmm, not sure off the top of my head :/
<Jeff_D>
well, thanks anyway… let me outline the basic task at hand, and see if you've got any pointers to go chase down: I'm trying to build a series of Gems that package CoffeeScript/JavaScript assets for a series of Rails apps. I'm using a Rails engine as built by `rails plugin new`. Those Gems' Script in turn depends on other Gems from rails-assets.org, and my Gem won't build because it can't find those in its sources. 'rails-assets.org' is
<Jeff_D>
listed as a source in the Gemfile, but no mention of it is made in the .gemspec. Any ideas?
workmad3 has quit [Ping timeout: 244 seconds]
sj26 has quit [Ping timeout: 279 seconds]
guilleiguaran has quit [Ping timeout: 279 seconds]
avdi has quit [Ping timeout: 279 seconds]
sj26 has joined #rubygems
avdi has joined #rubygems
guilleiguaran has joined #rubygems
davidcollom_ is now known as davidcollom
josh-k has joined #rubygems
lsegal has joined #rubygems
josh-k has quit [Ping timeout: 264 seconds]
tbuehlmann has quit [Remote host closed the connection]
Jeff_D has quit [Quit: JMP $]
jnoon_ has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
davidcollom is now known as davidcollom_afk
joelroa has joined #rubygems
davidcollom_afk is now known as davidcollom
joelroa has quit [Ping timeout: 264 seconds]
sinm has joined #rubygems
sinm has left #rubygems [#rubygems]
joelroa has joined #rubygems
imperator has joined #rubygems
davidcollom is now known as davidcollom_
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
davidcollom_ is now known as davidcollom
flori has quit [Ping timeout: 252 seconds]
flori_ has joined #rubygems
josh-k_ has joined #rubygems
tcopeland1 has quit [Ping timeout: 244 seconds]
dwknoxy is now known as dknox-gym
tcopeland has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #rubygems
luislavena has quit []
imperator has quit [Quit: Leaving]
jnoon_ has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
havenwood has quit []
dvu has joined #rubygems
dvu has quit [Ping timeout: 246 seconds]
jnoon_ has quit [Read error: Connection reset by peer]
jstr has joined #rubygems
jnoon has joined #rubygems
havenwood has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
jnoon has quit [Read error: Connection reset by peer]
jnoon has joined #rubygems
bbrowning is now known as bbrowning_away
jstr has quit [Quit: Leaving.]
jstr has joined #rubygems
full_vlad has joined #rubygems
<full_vlad>
Hi! Can anyone help me with this error when I type: gem install bundle
<full_vlad>
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass
<havenwood>
flori_: It looks like you're missing the zlib dependency. What OS/Distro are you on?
<havenwood>
flori_: Usually this would mean install zlib and rebuild Ruby. The best way to do it depends on your OS and whether you used a Ruby version manager to install Ruby.
<full_vlad>
elementary OS Luna (Ubuntu 12.04 LTS based) and installed Ruby from sources from official site (2.1.1)
<havenwood>
full_vlad: Install these dependencies then rebuild Ruby from source: sudo apt-get install -y build-essential libffi-dev libgdbm-dev libncurses5-dev libreadline-dev libssl-dev libyaml-dev zlib1g-dev
<full_vlad>
how to rebuild Ruby from source? (./configure | make | sudo make install)?
<havenwood>
full_vlad: Maybe take a look at ruby-install too, it is just one step heavier than building yourself and autodetects your package manager to install dependencies, etc: https://github.com/postmodern/ruby-install#readme
aquaranto has quit [Remote host closed the connection]
<full_vlad>
after installing those libs and rebuilding from source I get the same error :(
jfelchner_ has quit [Ping timeout: 240 seconds]
<havenwood>
full_vlad: I would have expected it to properly statically link. :O
<havenwood>
dynamically*
jfelchner_ has joined #rubygems
stabbylambda has quit [Ping timeout: 252 seconds]
stabbylambda has joined #rubygems
dvu has joined #rubygems
<havenwood>
full_vlad: Are you positive you're using the Ruby you're building?
<full_vlad>
and /usr/local/bin/gem for command -v gem
smcgregor has joined #rubygems
<havenwood>
full_vlad: I'd suggest just using chruby to select your Ruby and RubyGems. Otherwise you'll need to get your $PATH and $GEM_HOME set correctly yourself.
<full_vlad>
How should I do that?
<havenwood>
full_vlad: Use chruby or set env vars?
<havenwood>
full_vlad: Help available in #chruby channel.
<full_vlad>
What does chruby exactlly do, if I allready have ruby and rubygems installed?
<havenwood>
full_vlad: chruby is a minimalist tool of about (~100 lines), or RVM is another popular options that bites off a lot more including installing (~20,000 lines)
<havenwood>
full_vlad: But TL;DR: it sets up Ruby env vars correctly so things work
aquaranto has joined #rubygems
<havenwood>
full_vlad: chruby will autodetect Rubies installed by ruby-install (because they're nicely installed to ~/.rubies or /opt/rubies), but you can point it at any location you've installed Ruby
<full_vlad>
after I run "source /usr/local/share/chruby/chruby.sh" it will set the env vars correctly?
<havenwood>
full_vlad: when you run the `chruby` function, the available Rubies to switch to will be listed
<havenwood>
full_vlad: a minimalist tool, but it does take that initial bit of configuration - RVM on the other hand sets itself up but isn't minimalist
<havenwood>
full_vlad: #chruby and #rvm are helpful, pick your poison!
<full_vlad>
I think I've already made my mind :D
<full_vlad>
<chruby>
<havenwood>
:)
aquaranto has quit [Ping timeout: 246 seconds]
<full_vlad>
Is it corect if I get this after installing it:
<full_vlad>
for dir in `find etc lib bin sbin share -type d 2>/dev/null`; do mkdir -p /usr/local/$dir; done for file in `find etc lib bin sbin share -type f 2>/dev/null`; do cp $file /usr/local/$file; done mkdir -p /usr/local/share/doc/chruby-0.3.8 cp -r *.md *.txt /usr/local/share/doc/chruby-0.3.8/
<havenwood>
full_vlad: yes
davidcollom is now known as davidcollom_
<full_vlad>
so why it doesn't recognise the chruby command?
<havenwood>
full_vlad: it has to be sourced, you need to add the line to your .bashrc or .zshrc and then reload your terminal or `source ~/.bashrc` or whatev
<havenwood>
full_vlad: the `source /usr/local/share/chruby/chruby.sh` you mentioned earlier
<full_vlad>
ok, I forgot to restart bash
<full_vlad>
on "chruby ruby-1.9" it says: "chruby: unknown Ruby: ruby-1.9"
jfelchner_ has quit [Ping timeout: 240 seconds]
Atw has joined #rubygems
<havenwood>
full_vlad: try just `chruby` to see what Rubies were detected (if it didn't detect them you need to tell chruby where they are): https://github.com/postmodern/chruby#rubies-1
<havenwood>
full_vlad: Rubies installed manually to `~/.rubies/` or `/opt/rubies/` or installed by ruby-install are detected automatically
<full_vlad>
I see :)
<havenwood>
full_vlad: You can move the 2.1.1 you build to ~/.rubies/ or /opt/rubies/ OR adjust $RUBIES.
<havenwood>
you built*
jfelchner_ has joined #rubygems
bdrewery has quit [Ping timeout: 246 seconds]
<full_vlad>
if my ruby is installed here: /usr/local/lib/ruby/2.1.0 is it correct if i type the following: RUBIES+=( /usr/local/lib/ruby/2.1.0 "$HOME/src/rubinius" )