dubstep
November 4, 2011, 12:47am
1
Hello all.
I try to install ruby on rails and I am litle stuck now because of
following error:
Can someone help me?
I using Windows 7 Ultimate, Ruby 1.9.2-p180 and RubyGems 1.8.11.
What I did before run: gem install rails?
installing ruby through ruby installer
C:\Users\h4cky\Downloads\rubygems-1.8.10>ruby setup.rb
C:\Users\h4cky\Downloads\rubygems-1.8.10>gem update --system
D:\devKit>ruby dk.rb init
D:\devKit>ruby dk.rb review
D:\devKit>ruby dk.rb install
The Content of error log is: rails error log - Pastebin.com
Thanks in advance.
Regards,
Ivelin Georgiev.
h4ckY
November 4, 2011, 3:27am
2
On Nov 3, 2:38pm, h4ckY [email protected] wrote:
Hello all.
I try to install ruby on rails and I am litle stuck now because of
following error:
rails error - Pastebin.com
Can someone help me?
Path with spaces, that is the issue.
When you install Ruby using either RubyInstaller or RailsInstaller, it
warns you about path with spaces (above the field you enter the path
for installation).
Install outside a path with spaces and things will work.
–
Luis L.
h4ckY
November 4, 2011, 9:32am
3
Thank you for the answer - It Works now,
but i have other problem :
============
ERROR: While generating documentation for activesupport-3.1.1…
MESSAGE: error generating ActiveSupport/Inflector.html: incompatible
encoding regexp match (UTF-8 regexp with IBM866 string)
(Encoding::CompatibilityError)
… RDOC args: --op
D:/Ruby192/lib/ruby/gems/1.9.1/doc/activesupport-3.1.1/rdoc
lib --title activesupport-3.1.1 Documentation --quiet
h4ckY
November 4, 2011, 12:07pm
4
On Nov 4, 5:31am, “Ivelin "h4ckY" Georgiev” [email protected]
wrote:
Unless you’re using “gem server” to look at ActiveSupport
documentation you can install gems with --no-ri --no-rdoc options.
You should update to latest rdoc gem so solve this encoding issue.
Last but no least, try to use a console codepage that plays nicely
with UTF-8, seems IBM866 is your current codepage, please change it to
windows-1251:
Type:
chcp 1251
At the command prompt before doing anything.
If you want to make a permanent change, see here:
http://codesnippets.joyent.com/posts/show/414
–
Luis lavena
h4ckY
November 4, 2011, 12:25pm
5
Interesting is after running again - gem install rails
Everything was okay without error or warning.
But i do what you say.
Thank you very much!
On 4 November 2011 13:05, Luis L. [email protected] wrote:
encoding regexp match (UTF-8 regexp with IBM866 string)
windows-1251:
http://codesnippets.joyent.com/posts/show/414
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en .
–
Ivelin Georgiev,
Web D.