Stuck with Rails 3 on ubuntu

Hello Group

I am stuck with Rails 3 on Ubuntu. I followed this link : http://torqueo.net/installing-ruby-192-and-rails-3-stable-on-ubuntu/

When I created an app, it said there was no command called rake so I tried out sudo gem insall rake

Then when I gave rake db:migrate , I am getting this:T

$ rake db:migrate /usr/local/ruby/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception)   from /usr/local/ruby/bin/rake:19:in `<main>'

I have no idea what to do. Even bundle-install is not working.

Hello Group

I am stuck with Rails 3 on Ubuntu. I followed this link :

http://torqueo.net/installing-ruby-192-and-rails-3-stable-on-ubuntu/

When I created an app, it said there was no command called rake so I

tried out sudo gem insall rake

Then when I gave rake db:migrate , I am getting this:T

$ rake db:migrate

/usr/local/ruby/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path’: can’t

find executable rake for rake-0.8.7 (Gem::Exception)

    from /usr/local/ruby/bin/rake:19:in `<main>'

I have no idea what to do. Even bundle-install is not working.

So you were able to successfully create the rails app (i.e. it created the app structure and all)? Also, are you using rvm?

Ya was able to create rails app. I am not using rvm. I just followed this link : http://torqueo.net/installing-ruby-192-and-rails-3-stable-on-ubuntu/