Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to update ruby path?
    primarykey
    data
    text
    <p>I'm reinstalling ruby with proper instructions this time but I have paths messed up</p> <p>this is what I'm getting this error</p> <pre><code>Last login: Sun Feb 24 02:06:37 on ttys000 Fawads-MacBook-Pro:~ fawadnaseer$ rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p374. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p374, this may take a while depending on your cpu(s)... ruby-1.9.3-p374 - #downloading ruby-1.9.3-p374, this may take a while depending on your connection... ######################################################################## 100.0% ruby-1.9.3-p374 - #extracting ruby-1.9.3-p374 to /usr/local/rvm/src/ruby-1.9.3-p374 ruby-1.9.3-p374 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p374 ruby-1.9.3-p374 - #configuring Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p374 --with-opt-dir=/usr/local/rvm/usr --disable-shared', please read /usr/local/rvm/log/ruby-1.9.3-p374/configure.log There has been an error while running configure. Halting the installation. </code></pre> <p>Configure.log file contents</p> <p>here is the configure.log file [2013-02-24 02:09:37] ./configure current path: /usr/local/rvm/src/ruby-1.9.3-p374 command(7): env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p374 --with-opt-dir=/usr/local/rvm/usr --disable-shared checking build system type... x86_64-apple-darwin12.2.1 checking host system type... x86_64-apple-darwin12.2.1 checking target system type... x86_64-apple-darwin12.2.1 checking for C compiler default output file name... configure: error: C compiler cannot create executables</p> <p><strong>UPDATE:</strong></p> <p>Ok guys I have RVM installed Ruby Installed Rails Installed</p> <p>what when i put echo $PATH</p> <p>echo $PATH /Users/fawadnaseer/.rvm/gems/ruby-1.9.3-p392/bin:/Users/fawadnaseer/.rvm/gems/ruby-1.9.3-p392@global/bin:/Users/fawadnaseer/.rvm/rubies/ruby-1.9.3-p392/bin:/Users/fawadnaseer/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin</p> <p><strong>are there any problem in this path?</strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload