Install Rails 3.1

I am trying to install Rails 3.1.

It says to use "gem install rails --pre" in a blog post:

http://weblog.rubyonrails.org/2011/5/22/rails-3-1-release-candidate

When i try

$ gem install rails --pre

I get an error message:

ERROR: when executing gem ... (NameError) uninitialized constant Syck :: Syck

What to do?

+5
source share
3 answers

Regarding your specific problem: you can see the error that occurred when the Rails 3.0.8.rc3 build failed, which was clicked as "rails -pre". See this issue in the Rails repository.

Instead

gem install rails --pre

gem install rails -v " >= 3.1.0rc"

3.1.0.rc1:

gem install rails --version = 3.1.0.rc1

. , , .

+10

Riding Rails:

Ive

ERROR: While executing gem … (NameError) uninitialized constant Syck::Syck

: gem install rails --pre

: gem install rails -v ">=3.1.0rc"

?

+2

An amazing guide to installing rails is www.installrails.com - this will probably help fix your problem.

0
source

All Articles