no such file to load -- net/https. Try running apt-get install libopenssl-ruby
(See full trace by running task with --trace)
wtf? so ok, sudo aptitude install -y libopenssl-ruby and try again.
but that same message comes up! i tried other stuff, like rvm package install openssl and still got the same error message. uninstalled the gemset and reinstalled. still no dice. uninstalled rvm completely rvm implode and reinstalled bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ), and that did the trick. in retrospect, all i probably needed to do was recompile 1.9.2. and even then, i probably just needed to recompile the openssl part with the libopenssl-ruby library installed on my system.
in short
so in short, what i needed to do was:
sudo aptitude install -y libopenssl-ruby{,1.9.1}
rvm implode
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
gem install rails
gem install heroku
heroku keys:add
and then continue with the rails tutorial heroku part
related posts
here's some posts i found while troubleshooting just now:
- http://nicksda.apotomo.de/2010/03/running-ruby-191-with-rvm-on-ubuntu-karmic/
- http://22ideastreet.com/debug/no-such-file-to-load-when-running-ruby-1-9-2-on-ubuntu this blog's tagline is pretty much exactly how i see the "i am lucky" blog
- http://www.richardsimonjust.com/2011/01/ruby-on-rails-in-the-beginning/ i didn't actually see this until after i had done the above. looks like this is a more rvm-ish way to do it.
No comments:
Post a Comment