Rails installation problem

hi,

   i am new for rails. i installed rails like

$sudo gem install rails

it installed rails 3.0.9. while i am trying to create rails project like

$rails new sample -d mysql

it says rails currently not installed try to install ‘sudo apt-get
install
rails’ (i am using ubuntu10.10)

then i installed rails like,

$sudo apt-get install rails - it installed. Then i create my project it
only
create rails 2.3.5 project not rails 3.0.9 project.

then i checked rails version like

$ rails -v - it replied “Rails 2.3.5”

but in gem list rails 3.0.9 only installed.

why, i unable to create rails 3.0.9 project.

thank you…


நன்றி …

சண்முகசுந்தரம்.க

Kanchi Linux User Group

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gowithfoss.wordpress.com/

No point using ruby via apt-get. You need to install RVM, and ruby.

An easy way is to use RailsReady - a one step ruby installation script.

http://thechangelog.com/post/2857400260/railsready-setup-script-to-get-ruby-and-rails-running

PS: Kanchi has a LUG? thats news to me :slight_smile: I’m from Chennai myself :slight_smile:

use sudo gem install rails -v=3.0.9

Hi,

follow the steps from my Github repo

and get me back if you still have problems. Important: if you’re usig
RVM (you definitely should) then don’t use ‘sudo’ for install. First I
think just use SQLite3.

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/38f8b7747aa08778
http://www.web2linux.com/05/installing-rails-3-on-ubuntu-10-04-lucid-lynx/

Good lick
Zoli

On Mon, Jul 11, 2011 at 11:45 AM, Dheeraj K.
[email protected]wrote:

No point using ruby via apt-get. You need to install RVM, and ruby.

An easy way is to use RailsReady - a one step ruby installation script.

http://thechangelog.com/post/2857400260/railsready-setup-script-to-get-ruby-and-rails-running

PS: Kanchi has a LUG? thats news to me :slight_smile: I’m from Chennai myself :slight_smile:

yes,kanchilug is one of the linux user group like indian linux user
group
chennai(ilugc).we contribute open source via our LUG. Our LUG activities
here http://kanchilug.wordpress.com.

it installed rails 3.0.9. while i am trying to create rails project like


http://gowithfoss.wordpress.com/


You received this message because you are subscribed to the Google G.
“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.


நன்றி …

சண்முகசுந்தரம்.க

Kanchi Linux User Group

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gowithfoss.wordpress.com/

On Mon, Jul 11, 2011 at 11:46 AM, Sayuj O.
[email protected]wrote:

use sudo gem install rails -v=3.0.9

it says,
[dhastha@Dhastha:~] $ sudo gem install rails -v=3.0.9
[sudo] password for dhastha:
WARNING: RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance.
Updating metadata for 1 gems from http://rubygems.org/
.
complete
Updating metadata for 1 gems from http://rubygems.org/
.
complete
ERROR: Could not find a valid gem ‘rails’ (= 3.0.9) in any repository
[dhastha@Dhastha:~] $

it installed rails 3.0.9. while i am trying to create rails project like


http://gowithfoss.wordpress.com/


You received this message because you are subscribed to the Google G.
“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.


நன்றி …

சண்முகசுந்தரம்.க

Kanchi Linux User Group

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gowithfoss.wordpress.com/