Hi there,
I'm a newbie, and would really appreciate if someone could give me a pointer to a solution to rail installation on fedora 8 below. I know Ubuntu is probably a lot easier, but I have a need to get this to work on fedora 8.
Hi there,
I'm a newbie, and would really appreciate if someone could give me a pointer to a solution to rail installation on fedora 8 below. I know Ubuntu is probably a lot easier, but I have a need to get this to work on fedora 8.
Uh, see any differences there?
Or to put it another way: do `sudo gem env` and `gem env` return the same results?
Thanks Hassan. In my case, both commands show the same. However, I might just dig myself in a hole here. After trying a couple commands, I now have a new problem.
-bash-3.2$ sudo gem install rails --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list ERROR: could not find gem rails locally or in a repository
-bash-3.2$ sudo gem update Updating installed gems ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Moved Permanently 301 (RubyGems.org | your community gem host)
-bash-3.2$ sudo gem env RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - 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/
-bash-3.2$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - 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/
Thanks, Roger L.
fedora 8?
That was my first peak. Werewolf is it?
I’m on fedora 13. When I was on 12 I was able to use the rails guides to complete their tuts; but, at the time I was unaware of … a lot. How strange everything worked.
Anywho. This makes sense:
http://railscasts.com/episodes/200-rails-3-beta-and-rvm
This is fedora specific (not what your asking; but, still informative):
I usually just su - and operate as root for all the setup stuff. Totally not answering your question; but, would like to see the answer.
It would be nice if f14 and ror3 had a one command fresh start. It sounds like we need a compatibility harmony wheel…
Yikes, that's old. Do this:
$ sudo gem --source http://gems.github.com $ sudo gem --source http://gemcutter.org/ $ sudo gem update --system
and then try your rails install again.
Thank you all.
Hassan, The commands gave me other errors, but the link eventually pointed me to this page to download rubygem manually and reinstall.
http://rubygems.org/pages/download#formats
It works fine after that. Thanks again.
Roger L.