I have been fighting the Rails installation. Ruby1.8.7 on  Rails 2.3.x
and heroku were working fine. Then I decided to upgrade to Ruby 1.9.2
and Rails 3..0.3, using the instructions in Michael Hartl's tutorial
at http://railstutorial.org/chapters/beginning. I got to the point of
using autotest, but it didn't install, so I kept debugging and
backtracking and adding librarries and backtracking...until I took all
Ruby, Rails, RVM off my system (Ubuntu 10.4) and started with a fresh
install of Ruby 1.9.2. I then installed Rails, but a few things went
wrong.

rails -v and "rails new doodad" worked to create a new app, but "rails
server" did not work. It said,

jgo...@ubuntu1:~/rapps/hartl/doodad$ rails server
rails server
/home/jgodse/rapps/hartl/doodad/config/boot.rb:9:in `rescue in <top
(required)>': uninitialized constant Object::Bundler (NameError)
        from /home/jgodse/rapps/hartl/doodad/config/boot.rb:5:in `<top
(required)>'
        from script/rails:5:in `require'
        from script/rails:5:in `<main>'
jgo...@ubuntu1:~/rapps/hartl/doodad$
     gem list --local

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.3)
actionpack (3.0.3)
activemodel (3.0.3)
activerecord (3.0.3)
activeresource (3.0.3)
activesupport (3.0.3)
arel (2.0.6)
builder (2.1.2)
bundler (1.0.7)
configuration (1.2.0)
diff-lcs (1.1.2)
erubis (2.6.6)
heroku (1.14.10)
i18n (0.5.0)
json_pure (1.4.6)
launchy (0.3.7)
mail (2.2.12)
mime-types (1.16)
nokogiri (1.4.4)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.6)
rails (3.0.3)
railties (3.0.3)
rake (0.8.7)
rest-client (1.6.1)
rspec (2.3.0, 2.1.0)
rspec-core (2.3.0, 2.1.0)
rspec-expectations (2.3.0, 2.1.0)
rspec-mocks (2.3.0, 2.1.0)
rspec-rails (2.1.0)
sqlite3-ruby (1.3.2)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.23)
webrat (0.7.1)
jgo...@ubuntu1:~/rapps/hartl/doodad$


It seems that bundler is missing even though it is installed. Another
time, I fired up rails, and it was looking for /usr/bin/ruby1.8 even
though it is not installed on my system.

I have fought this battle along a few differrent paths. My question,
Is there a recipe that can get me a Ruby1.9.2/Rails3.0/postgresql
Rails stack up and running.

Or alternatively, if you have a Ubuntu 10.4 or Debian system up and
running, could you give me a list of gems, libraries, programs, and
environment variables that make your system happen?


Thanks,   Jay

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to