Displaying 20 results from an estimated 33 matches for "openuri".
Did you mean:
openurl
2007 May 15
2
openURI not capturing pages from the same rails app
Hi,
I am using standard Ruby library openURI to capture the HTML code from
other pages. The problem openURI does not work for capturing pages from
the same rails application.
Here is the code:
class CdCreatorController < ApplicationController
require ''open-uri''
def generate
lines = []
file = open("htt...
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched
to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess
I''ve been using the most recent version.
I have a div with id="detail" which I want to update with a partial.
If I''m using page.replace_html the content will be replaced with text,
i.e. the javascript won''t become
2007 Dec 17
9
Rails 2.0.2: Some new defaults and a few fixes
Now that we have the big Rails 2.0 release out the door, it''s a lot
easier to push out smaller updates more frequently. So that''s what
we''re going to do. Rails 2.0.2 contains a bunch of smaller fixes to
various bugs, no show-stopping action, just further polish. But it
also contains a few new defaults:
2008 Jan 16
3
settings headers in mechanize
...''ve looked at the API but it''s not
clear what capacity there is to arbitrarily set the headers - does
mechanize allow for this?
mechanize is clearly great for web browsing, but i also need to
construct get and post requests from scratch. i''ve looked at
net:http, libcurl, openuri, but mechanize seems simpler and more
functional than the others - is this an appropriate thing to do with
mechanize? any tips?
thanks,
nick
2008 May 17
1
Can someone help with this error?
Hello all,
I get this intermittent error saying OpenURI::HTTPError. At the bottom of
the email is what is reported in my backgroundrb_server_<port>.log file. The
process_netflix_reviews method is parsing (in the background) Netflix''s RSS
feeds. This error also pretty much brings down the BDRb process and to
recover, I am forced to do a...
2006 Jun 21
7
Mongrel 0.3.13.1 -- Quick Small Fixes
Hi Everyone,
This is a small release that fixes a little bug, some of the
documentation, and adds the new RedirectHandler code and a @redirect@
call for the mongrel.conf files. It''s fresh so don''t rely on it.
Everyone should upgrade with the usual *gem update* command (which tells
you it''s "Upgrading...") and tell me how it works.
This release fixes:
* The
2006 Jun 15
8
Markaby Installation Issues
...;'t sure, so I tried to
install the plugin as well.
Plugin installation fails looking for a file:
Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk
Outputs this error:
+ ./trunk/svnindex.xsl
/usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found
(OpenURI::HTTPError)
When I try to access my .mab file I get a template not found, leading me to
think that something isn''t installed right.
What am I doing wrong here?
-RR
2007 Oct 19
3
Stubbing a Kernel method?
Is it possible to stub a Kernel method? I''m specifically interested in
the ''open'' method to test some code using open-uri. I''ve tried:
Kernel.should_receive(:open).with(''filename'').and_return(''data'')
However, this doesn''t seem to work. Any suggestions would be appreciated.
--Paul
2007 Nov 11
0
Recent French communications
...léchargement (Download problem)
[French:]
salut Alex, je ne peut pas télécharger wxruby-1.9.2 avec rubygems.
J''avait wxruby-1.9.0, mais j''ai fait une restauration complète de mon pc
hier.
J''ai la version 0.9.4 de ruby gems.
J''ai un message d''erreur <openURI::HTTPerror> quand je veut installer
wxruby-1.9.2.
merci
[English:]
Hello Alex, I can not download wxruby-1.9.2 with rubygems. I had
wxruby-1.9.0, but I did a complete restoration of my pc yesterday.
I have version 0.9.4 of ruby gems.
I receive an error message <openURI::HTTPerror> when...
2006 Apr 14
2
Markaby trunk broken?
Hello!
Does anyone know how I can check out the Markaby trunk? I''m getting this
error:
<code>
ruby script/plugin install
http://code.whytheluckystiff.net/svn/markaby/trunk
+ ./trunk/svnindex.xsl
/usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found
(OpenURI::HTTPError)
from /usr/local/lib/ruby/1.8/open-uri.rb:629:in `buffer_open''
from /usr/local/lib/ruby/1.8/open-uri.rb:167:in `open_loop''
from /usr/local/lib/ruby/1.8/open-uri.rb:165:in `open_loop''
from /usr/local/lib/ruby/1.8/open-uri.rb:135:i...
2007 Nov 10
9
problème de téléchargement
salut Alex, je ne peut pas télécharger wxruby-1.9.2 avec rubygems. J''avait wxruby-1.9.0, mais j''ai fait une restauration complète de mon pc hier.
J''ai la version 0.9.4 de ruby gems.
J''ai un message d''erreur <openURI::HTTPerror> quand je veut installer wxruby-1.9.2.
merci
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 27
11
Installation success, execution failed
Hello, after I wasn''t able to install wxruby via gem (404) I
downloaded the file from rubyforge and installed it on my intel mac.
No failure the so I tried to start the minimal.rb with ruby -r/r?/
ubegems <path>...
This didn''t work so I tried to do it in irb but the same error occured:
irb(main):001:0> require ''rubygems''
=> true
2006 Jun 29
1
gem flaking out on me
# gem install rmagick
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
# gem update sources
Updating installed gems...
Attempting remote update of sources
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find sources (> 0) in the repository
# gem search rmagic --remote
*** REMOTE GEMS ***
#
# gem environmen...
2006 Jun 30
1
Problems installing rails
I''ve installed Ruby and Rubygems, but when I launch the command prompt
and type:
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
ERROR: While executed gem ... <OpenURI : : HTTPError>
404 Not Found
Now I did something else and its saying error 300 Multiple Choices.
Is there a better guide to installing rails somewhere? Or can someone
help me out.
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2007 Nov 10
1
Upgrade on windows to 1.1
...mpting remote update of mongrel
Select which gem to install for your platform (i386-mswin32)
1. mongrel 1.1 (java)
2. mongrel 1.1 (mswin32)
3. mongrel 1.1 (ruby)
4. mongrel 1.0.4 (ruby)
5. mongrel 1.0.4 (mswin32)
6. Skip this gem
7. Cancel installation
2
> ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
This is using the NetBean IDE''s ''ruby gem'' functionality, and I''m NOT
using JRuby. I get the same problem with the command-line gem tool.
--Michael
2007 Dec 10
2
Updating Rails to 2.0 on Mac OS X 10.5.1 won't work
...update
rails" but I get this error:
Updating installed gems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of rails
Install required dependency activesupport? [Yn] y
Install required dependency activerecord? [Yn] y
ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
What have I done wrong?
Thanks in advance
Specs:
MacBook 2 GHz C2D
Mac OS X 10.5.1
Ruby 1.8.6
Rails 1.2.3
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...
2008 Nov 21
2
How to install the plugin manually?
Dear all
I would like to install plugin auto_complete but failed..
jruby -S script/plugin discover
C:/jruby-1.1.5/lib/ruby/1.8/open-uri.rb:278:in `open_http'': 407 Proxy
Authentication Required (OpenURI::HTTPError)
I have set the http_proxy=http://user:password@host:port/, It is working
fine to fetch gem files.
I know the plugin is in here:
http://dev.rubyonrails.com/svn/rails/plugins/auto_complete/
I want to install it manually. Please advises.
Thank you very much.
Valentino
--
Posted via h...
2006 Apr 26
10
ANN: svn_conf generator -- making "svn import" easy and fun
Rails make it easy to start a new application. At the same time, import
a new project into Subversion is not that simple -- there are quite few
files that should be ignored.
I used to manually remove added log files and tmp/cache, tmp/sessions,
tmp/sockets files after the import and then go through the painful
process of setting svn:ignore properties.
There is an easier way -- simply
2005 Jun 24
9
new mysql gem
Hi everyone,
For those who have/had problems with Webrick not properly closing MySQL
connections, there is a new MySQL gem. (Actually the version was
released some time ago, just nobody took the time to make a gem)
So run "gem update" or just "gem install mysql" to update (not sure if
the latter also updates).
Special thanks to Tobias Luetke, who forwarded the gem to Chad
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
...p: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Error while trying to update my gem collection
Initial Comment:
C:\ruby>gem update
Updating installed gems...
Attempting remote update of windows-pr
ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
C:\ruby>ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
C:\ruby>gem --version
0.9.4
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid...