I’m new to Ruby and Ruby on Rails. Yesterday I just received the Agile
Web D. 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
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
warning: already initialized constant KNOWN_OPTIONS
warning: already initialized constant DEF_KEY_ATTRIBUTES
warning: already initialized constant DEF_ROOT_NAME
warning: already initialized constant DEF_CONTENT_KEY
warning: already initialized constant DEF_XML_DECLARATION
warning: already initialized constant DEF_ANONYMOUS_TAG
warning: already initialized constant DEF_FORCE_ARRAY
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.