Posted by
Justin on
Thursday, December 06
After installing the aws-s3 gem on Ubuntu, I wasn't able to load it:
$: irb
>> require 'rubygems'
=> true
>> require 'aws/s3'
LoadError: no such file to load -- openssl
I thought it was because I just didn't have openssl installed. So I installed it:
$: sudo apt-get install openssl
Still not working. So I installed...
$: sudo apt-get install libssl-dev
Still not working. Turns out I needed...
$: sudo apt-get install libopenssl-ruby
Bingo!
$: irb
>> require 'rubygems'
=> true
>> require 'aws/s3'
=> true
Tags: ruby
Meta:
0 comments,
permalink
Posted by
Justin on
Wednesday, December 05
Thomas: rake justins:face:off
Tags: ruby
Meta:
0 comments,
permalink
Posted by
Justin on
Monday, December 03
I was having some strange errors in TextMate when trying to run commands that relied on ruby. I had installed ruby and gem with MacPorts, and /opt/local/bin was in my $PATH, but I still got things like this:
`require': No such file to load -- rubygems (LoadError)
Adding this to my .profile seemed to fix it:
export TM_RUBY=/opt/local/bin/ruby
Hopefully this won't be necessary after upgrading to OS X 10.5, as it comes with an up-to-date version of ruby and gem built right in.
Tags: ruby
Meta:
permalink
Posted by
Justin on
Monday, November 26
Thomas: *args!
Thomas: Brilliant!
Justin: it is wonderful
Thomas: Or as I like to call it... Stargs!
Tags: ruby
Meta:
0 comments,
permalink