我完全是Ruby的初學者。今天我試圖建立一個開發環境。因此我已經安裝了rvm並使用ruby和rails。作爲IDE,我決定使用Netbeans(7.0)。 現在我是trieng(幾個小時...)調試一個簡單的測試文件,但它不工作。 IDE爲我提供了安裝快速調試器的功能,但由於出現錯誤,無法完成此操作。 (它告訴我,它無法構建寶石本機擴展) 如果我嘗試使用正常(=緩慢debuger)沒有發生任何事情。 這裏是安裝失敗的輸出:無法使用Netbeans和ubuntu調試紅寶石1.9.3
/usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/bin/ruby
/usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- openssl (LoadError)
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/https.rb:22:in `<top (required)>'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby-rvm/gems/ruby-1.9.3-p194/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:11:in `<top (required)>'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby-rvm/gems/ruby-1.9.3-p194/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:6:in `<top (required)>'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from extconf.rb:2:in `<main>'
如果您有疑問:我是一個DAU,當談到紅寶石......。
[ruby-debug with Ruby 1.9.3?]可能的重複?(http://stackoverflow.com/questions/8087610/ruby-debug-with-ruby-1-9-3) –
不要這麼想。我已經編輯了最初的帖子,以便你可以看到它。 – GavriYashar