gem sources -r http://gems.rubyforge.org
then
gem env
http://gems.rubyforge.org should now be a remote source and you should
be able to install rails just fine.
--
Posted via http://www.ruby-forum.com/.
>
> also:
>
> Home-iMac:bin jeff$ gem sources -a http://gems.rubyforce.org
> ERROR: While executing gem ... (Gem::RemoteSourceException)
> HTTP Response 403 fetching http://gems.rubyforce.org/yaml
>
>
It probably doesn't help that you've typoed the url (rubyforge)
Fred
Craig
sudo gem install rails --include-dependencies
without sourcing?
Craig
styling and aesthetics are driven by html/css which is obviously
implemented and not likely to be too different than all other middleware
platforms with the exception that you do get a fair amount of json for
free.
Craig
gem list --remote
# gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.1
- RUBY VERSION: 1.8.6 (2008-06-20 patchlevel 230) [i386-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org
let's see what happens when you run those commands
Craig
1 - try to make it work from command line first.
sudo gem install rails --include-dependencies -p http://proxyserver:port
2 - once you get it to work from command line, you can probably set the
environmental variable that would work but it probably needs to be upper
case.
http://lists.rubyonrails.org/pipermail/rails/2004-November/000497.html
Craig
export HTTP_PROXY=http://proxyserver:port
should just work. I don't know if case matters in the environmental
variable or not.
what happens when you 'echo $HTTP_PROXY'
does it give you the right value?
Craig