19 Dec
Rails 2.0.2
Ecco un altro aggiornamentino fresco fresco: Rails 2.0.2. Piccoli bug corretti e impostazioni nuove di default:
- SQLite3 come database di default
- Frammenti e template sono caricati da disco una volta sola (non basta un svn up per aggiornare in production, ma è necessario un restart)


Ciao a tutti, ho un piccolo problema, ho aggiornato rails alla nuova versione 2.02. Ho creato un nuovo progetto ma quando vado ad avviare webrick mi da questo output:
=> Booting WEBrick…
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
require_frameworks': no such file to load -- openssl (RuntimeError)process’from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:88:in
from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
send'run’from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
from /home/andrea/blog/config/environment.rb:13
from /usr/local/lib/siteruby/1.8/rubygems/customrequire.rb:27:in
gem_original_require'require’from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/activesupport/dependencies.rb:496:in
require'newconstantsin’from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
… 7 levels…
from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
from /usr/local/lib/siteruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require'require’from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
from script/server:3
Sapete aiutarmi?
A proposito di novità: avete visto queste ?
WSO2 Web Services Framework for Ruby 1.0.0 Released
WSO2 WSF/Ruby team is pleased to announce the release of WSO2 WSF/Ruby
1.0.0.
WSF/Ruby is the Ruby language extension to WSO2 WSF/C. This version
enables you to consume/provide Web Services both with REST and with
the
power of WS-* stack including WS-Reliable Messaging, WS-Security,
WS-Addressing and MTOM Attachments.
For more information, please visit our project home page,
http://wso2.org/projects/wsf/ruby
You can download this release from:
http://wso2.org/downloads/wsf/ruby
Per Andrea:
openssl è una libreria di Ruby, il fatto che Rails non la trovi mi fa pensare che tu non abbia installato correttamente Ruby con tutte le librerie di supporto…
Ho trovato qualche info a questo indirizzo:
http://www.ruby-forum.com/topic/136893
It is part of ruby 1.8.6. It’s not vital to ruby, so if it can’t do it just skips it.
To build it you cd to ruby_source/ext/openssl and run extconf.rb (and then make; make install)
It should complain at this point if the openssl headers can’t be found
Spero ti sia utile, sulla mia Linux Box (Fedora Core 7) con Ruby 1.8.6 e Rails 2.0.2 non ho alcun problema e, per la cronaca, ho installato i seguenti pacchetti (rpm):
ruby-1.8.6.111-1.fc7
ruby-rdoc-1.8.6.111-1.fc7
ruby-ri-1.8.6.111-1.fc7
ruby-docs-1.8.6.111-1.fc7
ruby-libs-1.8.6.111-1.fc7
ruby-irb-1.8.6.111-1.fc7
ruby-mode-1.8.6.111-1.fc7
ruby-devel-1.8.6.111-1.fc7
ruby-mysql-2.7.1-2.fc6
rubygems-0.9.4-1.fc7
Buona fortuna !
Good share!I commended a website about food.Do you knowwhat is the difference between au gratin potatoes and scalloped potatoes?