Open john-halderman opened 10 years ago
I cannot reproduce this problem.
Could you please give more info about user and rvm configuration?
Here is a list of commands, which I executed to try reproduce your problem:
# Installed Ubuntu 12.10 x64
#
# - executed as root:
apt-get update && apt-get dist-upgrade
apt-get install slapd libldap2-dev libsasl2-dev
groupadd test1
useradd -m -s /bin/bash --home /home/test1 -g test1 test1
echo '%test1 ALL=(ALL) NOPASSWD: ALL' >> '/etc/sudoers'
su - test1
# - executed as user:
\curl -sSL https://get.rvm.io | sudo bash -s stable
sudo usermod -a -G rvm test1
logout
# - executed as root:
su - test1
# - executed as user:
rvm install 1.8.7-p370 # FYI: p374 is latest
gem install ruby-ldap
# result:
Fetching: ruby-ldap-0.9.16.gem (100%)
Building native extensions. This could take a while...
Successfully installed ruby-ldap-0.9.16
Installing ri documentation for ruby-ldap-0.9.16
/usr/local/rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/local/rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for ruby-ldap after 0 seconds
1 gem installed
When I try to install the ruby-ldap gem into a user gemset using rvm (mixed mode) I get the following build error. I am on Ubuntu 12.10, rvm 1.24.7, ruby 1.8.7-p370, ruby gems 1.8.2. It is worth noting that installing to the system gemset works.
Any help is greatly appreciated.
Thanks, John