Displaying 20 results from an estimated 7000 matches similar to: "gem install postgres, dead meat - revisited"
2006 Aug 18
3
connect to postgres db
I''ve followed the tutorial and just don''t get it.
How do I connect my ruby/rails sample app to my postgres database.
I did follow step 1-4 of the tutorial, I go to step 5:
(http://wiki.rubyonrails.org/rails/pages/TutorialStepFive)
and try the "rake" commmand and get this:
rake aborted!
no such file to load -- postgres
so I ran with -trace and get this:
2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting
the error. I tried with ''gem clean'' and ''gem update''. The latter gives
the following error (the same error is replicable when I try any ruby
applications):
# gem update --debug
Exception `Errno::ENOENT'' at
/usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2009 Sep 11
2
Installing Rails problem
I have installed Ruby and Apache, but when tried to install Rails (sudo
gem install rails --include-dependencies) I have got an error:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: While executing gem ... (URI::InvalidURIError)
the scheme http does not accept registry part: :8080 (or bad
hostname?)
2006 Aug 16
5
installing Ruby on Rails behind a firewall
Ok,
I went to the "Get Ruby on Rails ..." web page and followed directions.
When I get to the step where I''m to do this:
gem install rails --include-dependencies
I get this error:
ERROR: While executing gem ... (SocketError)
getaddrinfo: no address associated with hostname.
Here is my configuration,
Win XP Pro
Running commands in a cygwin "bash" sh.
And I
2011 Jan 22
2
Re: Super Meat Boy Crash on startup
You are right it's an DirectX issue and it's easy to fix. If you install the stand alone version you have to update DirectX. I had the same Problem under Windows.
You can download the DirectX 9c Update here:
http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d
2005 Oct 19
1
Unix proxy and firewall problems
I was trying to install R on a unix server. Because of a firewall i can't
install biocLite for working with Bioconductor.
With windows it wasn't a problem. I used the option '--internet2' to bypass the
firewall.
I don't have any idea, how to do it with unix.
I tried to set my proxy
>Sys.putenv("http_proxy"="http...:8080")
2007 Mar 19
0
gem remote fetch error
I keep getting this error while trying to run gem update:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: No address associated with nodename(SocketError)
I''m on:
gem --version is 0.9.2
Any Ideas what is causing this???
Thanks for any help...
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You
2010 Dec 04
3
Super Meat Boy Crash on startup
Super meat boy crashes on startup with the following message I've installed vcrun2008 and direct x, i'm not sure if this is a wine problem or a super meat boy problem, can any users with more know how than me tell me with this output?
Setting breakpad minidump AppID = 40800
Steam_SetMinidumpSteamID: Caching Steam ID: 76561201696194287 [API loaded no]
fixme:win:EnumDisplayDevicesW
2006 Jul 31
3
PostgreSQL, postgres gem, rails2.pdf, http://ruby.scripting.ca/postgres/ confusion...
Hello people...
In the rails2.pdf Dave T says:
Rails works with the DB2, MySQL, Oracle, Postgres,...
The database drivers are all written in C and are primarily distributed in
source form.
Then he lists this site:
http://ruby.scripting.ca/postgres/
Then he says,
There is a pure-Ruby version of the Postgres adapter available. Download
postgres-pr from the Ruby-DBI page at
2011 Oct 05
1
Behaviour of 'source' with URLs and proxy
Hi,
I am having troubles sourcing a file from our local network from R.
It looks like this file are not properly accessed by 'source', even they
can be downloaded with download.file. (See below my settings and some
tests I did). I ended up with a work around, but I would like to
understand what is going on.
Doesn't source/readLines uses the same mechanism as download.file to
2009 Feb 07
2
installing ruby-postgres gem
I''m starting to look at postgres because I''m going to need it for its
GIS extensions. But I run in into a problem when trying to install the
ruby-postgres gem. I get this error
Building native extensions. This could take a while...
ERROR: Error installing ruby-postgres:
ERROR: Failed to build gem native extension.
blah
blah
blah etc
postgres.c:31: error: conflicting types
2002 Jun 19
0
[R] Problems with url/download and http_proxy
This does seem to fix my problem:
> Sys.getenv("http_proxy")
http_proxy
"http://gproxy1.pfizer.com/"
> url("http://cran.r-project.org/src/contrib/PACKAGES",'r')
description
"http://cran.r-project.org/src/contrib/PACKAGES"
class
2003 Jul 25
5
R won't connect to the internet on SUSE Linux 8.1
Hi
Thanks once again for your help, I do appreciate it..... however....
Here is what I get with your test.... (under tcsh - i normally use bash, but I will keep everything the same)
users/mwatson> env http_proxy=http://wwwcache.bbsrc.ac.uk:8080/ R
>options(internet.info=0)
>update.packages()
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
unable to connect to
2006 May 16
3
Installing the Postgres gem on Ubuntu
Hi,
I''m having difficulty installing the "postgres" gem. postgres-pr
installed fine, but whenever I run:
sudo gem install postgres
I get:
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/postgres-0.7.1 for inspection.
I''ve had a bit of a poke around, and
2002 Jun 19
0
FW: [R] Problems with url/download and http_proxy (PR#1689)
For the record.
-----Original Message-----
From: ripley@stats.ox.ac.uk [mailto:ripley@stats.ox.ac.uk]
Sent: Tuesday, June 18, 2002 3:21 PM
To: Warnes, Gregory R
Cc: 'r-help@stat.math.ethz.ch'
Subject: RE: [R] Problems with url/download and http_proxy
The port is not supposed to be required, so rather than fix the docs can
anyone fix the problem?
On Tue, 18 Jun 2002, Warnes, Gregory R
2004 Jan 12
1
ReadLines does not give results with urls
Hello,
I am using R version 1.8.1 on a linux machine (Suse 8.2.).
I have problems to use readLines() with urls.
This seems to be a problem with our proxy-server.
Downloading files work with download.file() with wget but not without:
> download.file(url = "http://cran.r-project.org/src/contrib/PACKAGES", destfile = "test.txt", method = "wget", cacheOK = FALSE)
2005 Jul 18
2
Rails installation problem
Hi there,
I''m a new to Rails and to Ruby too. I hope you can help with what
hopefully is a simple installation problem.
I have successfully installed version:
C:\>ruby -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
I have successfully installed gem:
C:\>gem --version
0.8.11
When I try to install Rails i get the following error:
C:\>gem install rails --include-dependencies
2009 Jun 22
2
URI::InvalidURIError with open-uri and Google Maps
Hello,
I''m getting an URI::InvalidURIError in my controller when I use german
characters in the uri. Google accepts them but open-uri not. How to
encode them?
That''s my controller simplified:
def index
require ''open-uri''
address = "Bürgerstraße+68+01127+Dresden"
api_key = "my api key"
json =
2010 Jan 06
4
Yum Issue
Yum using proxy that requires authentication and a Password that
contains the two characters \/ fails
normally I can get yum to work with a proxy that requires authentication
when required by doing something like
http_proxy=http://<my username>:<my password>@<proxy server>:<proxy
server port>
export http_proxy
or by filling in the appropriate information in yum.conf.
2008 Jun 12
1
how do I mock the Rails Logger with should_receive?
Hey Guys,
I''m trying to mock the Rails Logger for the following code:
...
rescue TimeoutError => error
$logger.error("#{self.name} Timeout for #{path}: #{error}") and return
rescue SocketError => error
$logger.error("#{self.name} SocketError for #{path}: #{error}") and
return
rescue StandardError => error