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. ------------------------------------- -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: Error installing rails: actionpack requires rack (~> 1.1.0, runtime) -bash-3.2$ sudo gem install rack -v 1.1.0 ERROR: could not find gem rack locally or in a repository -bash-3.2$ sudo gem install rack Successfully installed rack-1.2.1 1 gem installed Installing ri documentation for rack-1.2.1... Installing RDoc documentation for rack-1.2.1... -bash-3.2$ gem install rails -y INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list ERROR: Error installing rails: actionpack requires rack (~> 1.1.0, runtime) ------------------------------------ Thank you very much, Roger L. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Aug 8, 2010 at 10:40 AM, Roger Lee <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> -bash-3.2$ sudo gem install rails --include-dependencies> -bash-3.2$ sudo gem install rack -v 1.1.0> -bash-3.2$ sudo gem install rack> -bash-3.2$ gem install rails -yUh, see any differences there? :-) Or to put it another way: do `sudo gem env` and `gem env` return the same results? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 (http://gems.rubyforge.org/latest_specs.4.8) -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. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <http://railscasts.com/episodes/200-rails-3-beta-and-rvm>This is fedora specific (not what your asking; but, still informative): http://net.tutsplus.com/tutorials/ruby/setting-up-a-rails-server-and-deploying-with-capistrano-on-fedora-from-scratch/ <http://net.tutsplus.com/tutorials/ruby/setting-up-a-rails-server-and-deploying-with-capistrano-on-fedora-from-scratch/>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... On Sun, Aug 8, 2010 at 1:26 PM, Roger Lee <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 > (http://gems.rubyforge.org/latest_specs.4.8) > > -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. > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Aug 8, 2010 at 1:26 PM, Roger Lee <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> -bash-3.2$ sudo gem env > RubyGems Environment: > - RUBYGEMS VERSION: 1.2.0Yikes, 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. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.