When I attempt to fetch gems while specifying a source, like so:
gem fetch activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org
...I receive the following error:
ERROR: While executing gem ... (TypeError)
can't convert URI::HTTP into String
I have tried fetching without specifying the source, which works just
fine. Suggestions?
···
--
Posted via http://www.ruby-forum.com/.
Sean Sawyer wrote:
When I attempt to fetch gems while specifying a source, like so:
gem fetch activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org
...I receive the following error:
ERROR: While executing gem ... (TypeError)
can't convert URI::HTTP into String
I have tried fetching without specifying the source, which works just
fine. Suggestions?
Tried this on my Linux machine where of course it works. It's
unfortunate that this doesn't seem to work on Windows, however, since it
makes it a bit difficult to collect gems for installation on secure
machines if you can't fetch from the Rails gem repo.
···
--
Posted via http://www.ruby-forum.com/\.
`gem env` and `gem --debug fetch ...` will be of help.
···
On Apr 16, 2008, at 11:39 AM, Sean Sawyer wrote:
Sean Sawyer wrote:
When I attempt to fetch gems while specifying a source, like so:
gem fetch activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org
...I receive the following error:
ERROR: While executing gem ... (TypeError)
can't convert URI::HTTP into String
I have tried fetching without specifying the source, which works just
fine. Suggestions?
Tried this on my Linux machine where of course it works. It's
unfortunate that this doesn't seem to work on Windows, however, since it
makes it a bit difficult to collect gems for installation on secure
machines if you can't fetch from the Rails gem repo.