On Thu, Oct 15, 2009 at 6:30 PM, Sapna Ruby <[email protected]> wrote: > > Leonardo Mateo wrote: >> On Thu, Oct 15, 2009 at 6:11 PM, Sapna Ruby >> <[email protected]> wrote: >>>> Rails apps to a production server. �See >>> got the following error :( any clue? >>> ---------------------------------------------------------------------------- >>> # cd ruby-enterprise-1.8.7-20090928 >>> [ruby-enterprise-1.8.7-20090928]# ./installer >>> *** ERROR: Ruby is not installed *** >>> The Ruby Enterprise Edition installer is written in Ruby. This source >>> tarball bundles precompiled versions of Ruby for many platforms for the >>> purpose of running this installer, but unfortunately we did not include >>> a precompiled Ruby binary for the current platform. So please install >>> Ruby manually, then run this installer again. >> >> The error is pretty clear there, you don't have Ruby installed, and >> the installer for REE is written in Ruby and bundles precompiled >> versions of Ruby for many platforms but not for yours. You still need >> to install Ruby for your platform manually. >> >> -- >> Leonardo Mateo. >> There's no place like ~ > > Yup, there is no ruby; what i tgt was the bundle is gonna have > everything.. > anyways, I am one more step down.. meaning now installing ruby1.8.6; > > Now I know the critical task for me is getting backgroundrb up and > runnning. > Can you please please please advice me on which version of backgroundrb > gem should I install? > > This whole thing started as I want to migrate my ROR framework from > Windows to Linux. > > My GEMS: > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.5 > - RUBY VERSION: 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux] > - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /usr/local/bin/ruby > - EXECUTABLE DIRECTORY: /usr/local/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86_64-linux > - GEM PATHS: > - /usr/local/lib/ruby/gems/1.8 > - /root/.gem/ruby/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > - http://gems.rubyforge.org/ >
OK, I think you're unnecessarily complicating things with the Windows to Linux migration. Forget about that, the only thing you need to "migrate" is your application, which should be done only by moving the files from one computer to the other. Ruby should work out of the box in nearly every major Linux distribution, such as RH. Rubygems should be on RH package list for sure and should wor out of the box like in any other distribution. Start from scratch a clean installation, remove all you've installed so far. Install a ruby version from your package manager. Install rubygems from your package manager. Once you've done this, make sure you can run the gem command (you can do: which gem, and this should return the path to the executable file) When you're sure you can run gem do, as root: gem install rails That should be enough to have Ruby On Rails installed on your system. The rest is for a different discussion. Cheers. -- Leonardo Mateo. There's no place like ~ --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

