Estoy siguiendo el tutorial de Ruby on Rails en http://railstutorial.org/chapters/beginning#sec:1.4.1, y todo va bien hasta que intenté que mi aplicación funcionara en Heroku.Joya de Heroku no funciona con RVM
He instalado heroku, que funcionaba bien, pero ahora cuando corro heroku keys:add
o cualquier otro comando heroku, me sale el siguiente error:
/home/sirswap/.rvm/gems/[email protected]/gems/rest-client-1.4.2/lib/restclient.rb:9:in `rescue in <top (required)>':
no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError)
from /home/sirswap/.rvm/gems/[email protected]/gems/rest-client-1.4.2/lib/restclient.rb:5:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/sirswap/.rvm/gems/[email protected]/gems/rest-client-1.4.2/lib/rest_client.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/sirswap/.rvm/gems/[email protected]/gems/heroku-1.9.14/lib/heroku/client.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/sirswap/.rvm/gems/[email protected]/gems/heroku-1.9.14/lib/heroku.rb:3:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/sirswap/.rvm/gems/[email protected]/gems/heroku-1.9.14/bin/heroku:6:in `<top (required)>'
from /home/sirswap/.rvm/gems/[email protected]/bin/heroku:19:in `load'
from /home/sirswap/.rvm/gems/[email protected]/bin/heroku:19:in `<main>'
hice lo que dice el mensaje de error, e instalado libopenssl-rubí , pero heroku todavía no funcionó.
que he hecho una búsqueda y encontré las dos páginas siguientes que tratan de combatir los errores heroku: http://www.mail-archive.com/[email protected]/msg05001.html http://blog.project-sierra.de/archives/1534
he seguido las instrucciones en estas páginas (que son los mismos), pero todavía doesn heroku no funciona
Normalmente hago mi trabajo en Windows, así que todo es un poco nuevo para mí en ubuntu. Aquí está mi entorno ruby:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i686-linux]
- INSTALLATION DIRECTORY: /home/sirswap/.rvm/gems/[email protected]
- RUBY EXECUTABLE: /home/sirswap/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
- EXECUTABLE DIRECTORY: /home/sirswap/.rvm/gems/[email protected]/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/sirswap/.rvm/gems/[email protected]
- /home/sirswap/.rvm/gems/[email protected]
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
Estoy ejecutando ubuntu 10.04.
Cualquier ayuda o consejo para los próximos pasos serían muy apreciado :)
Gracias por los comentarios chicos, estoy realmente muy ocupado en este momento con las entrevistas de trabajo y los viajes, por lo que tendrán que responder un poco más tarde a sus respuestas para ver lo que funciona para mí :) –