similar to: Problems with flickr gem: already initialized constant

Displaying 20 results from an estimated 300 matches similar to: "Problems with flickr gem: already initialized constant"

2006 Jul 11
1
error when ''Booting WEBrick''
I encountered this problem yesterday so, I decided to build the whole /app directory over but got the same thing again. what I did- I build the MVC files for ''abc'', included abc.rb in /lib, appended environment.rb with ''require abc'' and the service worked fine. And then I did the same for ''xyz'' and ran the server but it failed. both abc.rb and
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi, I''ve already posted my problem a few weeks ago on several forums, or lists. I still have the same problem: I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR working with fastCGI. I have installed different versions of fastCGI, have checked the permissions of the fcgi-ipc directory, reinstalled everything and it still doesn''t work. In the browser window I
2006 Feb 12
3
Flickr demo screencast
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
2006 Jul 10
3
WEBrick start problem
Following is the error I get when I run ''\root\ ruby script\server'' The server does not starts. Any help !?! ------------------------------ => Booting WEBrick... c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:280: warning: already
2006 Jun 26
0
error while booting WEBrick server
getting the following when trying to run the WEBrick server: c:\root\ ruby script\server error msg: ---------------------- => Booting WEBrick... c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:280: warning: already initialized constant DEF_KEY_ATTRIBUTES
2006 Jul 10
7
problem with starting WEBrick
Following is the error I get when I run ''\root\ ruby script\server'' The server does not starts. Any help !?! ------------------------------ => Booting WEBrick... c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:280: warning: already
2005 Dec 21
8
Incomplete headers
Hi, I wanna use Rails on a SuSE server with apache. Everything should be installed correctly, but when running the application I get this in my apache log: FastCGI: comm with server "/srv/www/htdocs/web4/html/rails/public/dispatch.fcgi" aborted: idle timeout (60 sec) FastCGI: incomplete headers (0 bytes) received from server
2006 Mar 29
5
whats the mysql gui front in the blog in 15 min. screencst
sorry for the off topic, was wondering what''s the mysql gui front the guy is using in the "Creating a weblog in 15 minutes" screencast -- Posted via http://www.ruby-forum.com/.
2006 Feb 13
1
hackish error handling
I''ve got a block of code that''s turning out.. well - just plain ugly. So i know I must not be doing it the Ruby way. The main problem I''m having is in dealing with handling errors - and just not finding much Rails documentation that gives a deeper understanding of how to handle errors in Rails (outside of several docs on the catch-all''s) the main method
2008 Jan 08
1
howto rebuild a object from a received xml hash structure ?
im my web server app , i have an action to be used as a REST web service # GET /user/membership.xml?email=emailaddress def membership @user = User.find_by_email(params[:email]) respond_to do |format| format.xml { render :xml => @user.to_xml( :only => [ :first_name, :last_name, :display_name, :membership_type, :membership_at], :skip_types => true)} end end my
2006 May 17
0
Problem with ''require xmlsimple'' in vendor code
Hi there I''m trying to "require ''xmlsimple''" in some code that lives in vendor/ I''ve installed the xml-simple gem, and can confirm this at the command line with ''gem list --local'' which shows I have v.1.0.8 of the gem. However, when I start up lighttpd I get this: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
2010 Jun 13
1
Using XmlSimple to parse XML strings
I am using XmlSimple to parse an XML string received from a remote host. I am getting the error message, "File does not exist: .". I am fairly well convinced that the problem is that XmlSimple is not recognizing the received XML string as being valid XML and is therefore looking for a file by that name (which, of course, does not exist). The XmlSimple documentation says that it
2006 Mar 29
4
xmlsimple not found
I''ve been working through the Flickr tutorial, and it looks like I installed the Flickr gem with the require xml-simple gem without problems. But when I got to the point in the demo when it was time to submit the form, I got an error with the message "uninitialized constant Flickr". I did some poking around at the gem repository, and ran ''ruby
2005 Aug 22
5
XML "Un-Builder?"
I''ve been unserializing XML in PHP with the XML_Serializer class, and I''m wondering if anyone knows of such a class for Ruby. Nothing fancy, just perhaps a simple way of converting arbitrary XML to a Ruby object. Maybe this has been implemented somewhere already? Thanks, Raymond
2016 Mar 17
2
Trouble getting vnd.dovecot.filter and filter visible/usable...
Hello, I?m trying to make vnd.dovecot.filter available both globally and for users through sieve, but I haven?t had much luck getting things to work right. Sieve scripts won?t validate and vnd.dovecot.filter never shows up in the managesieve capability list. I?ve spent lots of time looking for where problems could be, but I?m out of ideas?So I?m asking you guys. In the protocol lmtp section, I?m
2006 Feb 04
0
XmlSimple vs XML::Simplel?
Greetings! I have a bunch (thousands) of XML files that I want to process. I want to extract a limited set of data from each and put that data, along with the XML file''s id, into MySQL so that users can do a structured search for (and thus retrieve) specific XML files.. I''ve got some Perl scripts I put together using XML::Simple to do the extraction of the data into CSV files,
2006 May 30
3
RubyODBC bus error under Rails
Hi all, I''ve got a very obscure problem. We''re trying to get Rails to talk to Filemaker. So we''ve setup an ODBC dsn and via RubyODBC we''re talking to it. Excellent. Try it under rails and rails won''t even startup, getting bus errors anytime we require ''odbc''. Environment OSX Tiger 10.4.6 Rails 1.1.2 Ruby 1.8.4 RubyODBC 0.998 via
2006 May 26
1
GET from remote sites and parsing RESPONSE xml
For example, this url returns some xml: http://www.mysite.com/xml What is the correct way to perform a GET on this url, and then parse the RESPONSE xml? Could someone shine some light on a poor soul? :) -- Posted via http://www.ruby-forum.com/.
2006 Jul 31
3
Problem in posting xml content.
When I post the XML data as the message content to my rails website, I can see the exception info in the log file. The error message is "can''t typecast" the element name in my xml document. The first line in backtrace is: "c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_ext/cgi_methods.rb:111:in`typecast_xml_value''" Please give
2006 May 10
0
using Rails 1.1 param parsers
Hello, I want to use the new param parsers in Rails 1.1 to process POST''ed xml form data (at the moment I manually parse request.raw_post using REXML). As per Scott Raymond: *"Pluggable parameter parsers* make writable REST web services a cinch. By default, posts submitted with the application/xml content type is handled by creating a XmlSimple hash with the same name as the root