Hi,
On Indiana DP2, I'm having problems with
pkg://opensolaris.org/[EMAIL PROTECTED]
It installs fine, and ruby seems to be "ok", but when trying to use gems,
I'm having trouble. I'm not sure if this is related to the actual package,
or if it's something I'm doing wrong. Hopefully I've found the right list to
ask. :)
After an initial install of Ruby from this package, gem install activeldap
seemed to work. It installed into /var somewhere. I tried executing
something that required this package, and it claimed it could not find it.
So, I attempted a gem update --system. This worked, but changed the gem
path:
-bash-3.2# gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.0.1 (1.0.1)
- RUBY VERSION: 1.8.6 (2007-09-23 patchlevel 110) [i386-solaris2.11]
- INSTALLATION DIRECTORY: /usr/ruby/1.8/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/ruby/1.8/bin/ruby
- RUBYGEMS PLATFORMS:
- ruby
- x86-solaris-2.11
- GEM PATHS:
- /usr/ruby/1.8/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org
-bash-3.2#
I'm fine with that, it's a more "standard" location for gems. However, even
though the gems *are* there:
-bash-3.2# ls /usr/ruby/1.8/lib/ruby/gems/1.8
cache doc gems source_cache
specifications
-bash-3.2# ls /usr/ruby/1.8/lib/ruby/gems/1.8/gems
activeldap-0.9.0 hoe-1.5.0 rubygems-update-1.0.1
activerecord-2.0.2 rake-0.8.1
activesupport-2.0.2 rubyforge-0.4.4
-bash-3.2#
I still see this error:
-bash-3.2# ./lhostchk
/usr/ruby/1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- activeldap (LoadError)
from
/usr/ruby/1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from ./lapplib.rb:14
from ./lhost.rb:6:in `require'
from ./lhost.rb:6
from ./lhostchk:10:in `require'
from ./lhostchk:10
Here is the actual require referenced in lapplib.rb:
begin
require 'rubygems'
rescue LoadError
end
require 'activeldap'
So, what am I doing wrong? :)
Thanks,
David
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss