Hi Nathan, from your previous posts I think you are using Ubuntu here is how I recently setup my stack on Ubuntu 10.04 (you may be on 10.10 since you actually have a Ruby 1.9.2-p0 package... 10.04 doesn't)
My setup consists of: - nginx for front-end web server - mysql for database - git for source control (optional) - memcached for caching and sessions (optional) - unicorn as ruby application server (you may want to consider nginx or apache with passenger since easier to setup) - ruby 1.9.2-p0 - god for monitoring (optional) - capistrano for deploy (optional) - rcov for codecoverage (optional) - compass (optional) Run the following on the command line: $ sudo apt-get install nginx $ sudo apt-get install mysql-server libmysqlclient-dev $ sudo apt-get install git-core memcached $ sudo apt-get install ruby # your ruby package for 1.9.2 plus I installed the following addition packages: libhttp-access2-ruby libopenssl-ruby libreadline-ruby irb Next installation of rubygems and needed gems $ wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz $ tar xzf rubygems-1.3.7.tgz $ cd rubygems-1.3.7; sudo ruby setup.rb Your gem executable probably will end up under /usr/bin/gem so make sure you have /usr/bin in your $PATH If not update your ~/.bashrc to contain in the end: export PATH=/usr/bin:$PATH Ensure you have the right ruby and gem version. You should see something like this: $ ruby -v ruby 1.9.2dev (2010-07-02) [x86_64-linux] $ cat `which gem` | head -1 #!/usr/bin/ruby1.9.2 Continue with installation of gems $ sudo gem install --no-ri --no-rdoc god memcache-client unicorn rcov compass capistrano rack $ sudo gem install --no-ri --no-rdoc mysql -- --with-mysql-config=/usr/ bin/mysql_config Now you should be able to generate a new rails application: $ rails new my_new_app If you cd into your new app you must setup the database configuration and create the database. Even without this you should be able to: a) start the rails console $ rails console b) if above successful start a unicorn server $ unicorn_rails -p 8000 Setup your nginx server to serve your rails application, or if you are on the local machine you can access your application from a web browser on port 8000 Hope this gets you started... Best, Daniel On Nov 2, 6:31 pm, Nathan Domier <[email protected]> wrote: > ok, I'm completely frustrated with the install process for gems and > rails \. > > apt-get install rubygems1.9.1 seems to work, but when I try to run gem, > it says it's not installed. > > To get gem to work, I have to apt-get ruby, which installs 1.8, instead > of 1.9, yet enables the gem command. > > Then, gem install rails seems to work, but when I try to run rails, it > says it's not installed. > > To get rails to work, I have to apt-get rails, which installs 2.3.5 > instead of 3. > > how do I get 1.9.2 and 3.0 working!? > > T_T > > -- > Posted viahttp://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 [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.

