Hi,
I''m new to Ruby and Ruby on Rails. Yesterday I just received the Agile
Web Development with Rails book.
Now I wanted to recreate the Flickr demo screencast
(http://www.rubyonrails.com/screencasts) just for fun to see it live.
But unfortunately when I start my server I get some warnings:
g5:~/ruby/flickr mw$ ruby script/server
=> Booting lighttpd (use ''script/server webrick'' to force
WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in
config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:274:
warning: already initialized constant KNOWN_OPTIONS
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:279:
warning: already initialized constant DEF_KEY_ATTRIBUTES
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:280:
warning: already initialized constant DEF_ROOT_NAME
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:281:
warning: already initialized constant DEF_CONTENT_KEY
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:282:
warning: already initialized constant DEF_XML_DECLARATION
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:283:
warning: already initialized constant DEF_ANONYMOUS_TAG
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:284:
warning: already initialized constant DEF_FORCE_ARRAY
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:285:
warning: already initialized constant DEF_INDENTATION
This is how I installed the gems:
g5:~/ruby/flickr mw$ sudo gem install -r flickr
Attempting remote installation of ''flickr''
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency xml-simple? [Yn] Y
Successfully installed flickr-1.0.0
Successfully installed xml-simple-1.0.7
Moreover, when I access http://localhost:3000/flickr, the page is blank!
But I have all the same files in the same categories like in the
screencast. What''s the deal?
Thanks for your patience and responses in advance.
Michal
--
Posted via http://www.ruby-forum.com/.