Error on configuring Ruby Installation -
i've been digging through stackoverflow answer, after 3 days of failure gave installing ruby.
currently have installed:
- ruby (stock)
- rvm
- the ruby installer http://railsinstaller.org/
i getting error during configuration. tried switching smf homebrew no good.
here error getting:
error running 'env ldflags=-l/opt/sm/pkg/active/lib cflags=-i/opt/sm/pkg/active/include cpath=/opt/sm/pkg/active/include ./configure --prefix=/users/unwired/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --disable-install-doc --without-tcl --without-tk --enable-shared', please read /users/unwired/.rvm/log/ruby-1.9.3-p392/1366883126_configure.log there has been error while running configure. halting installation.
i excited start learning ror installing pain.
follow these steps:
- download rails installer http://rubyinstaller.org/downloads/ along devkit.
- install ruby.
- create directory , extract devkit on
c:
, i.e.,c:\devkit
. - copy path of devkit
environment variables > path
i.e.,c:\devkit\bin;
. - open
cmd
, type following:
ruby dk.rb ruby dk.rb init ruby dk.rb install
- open
cmd
, typegem install rails
. - install mysql typing:
gem install mysql
.
note: make sure copy path of ruby environment variables > path
. there selection on installing ruby on rails there.