Ruby on Rails — new install on windows 7 but cant run ruby commands, problem with path?



I just installed ruby on rails on my new computer ( I was using instantrails before) and I'm trying to get everything setup.


Im running Windows 7. So I followed the instructions from this tutorial.


http://blogupstairs.com/ruby-on-rails/installing-ruby-on-rails-on-windows-7/


The problem i'm guessing is step 3


"Add the newly installed bin directory to your path in your windows system : Open windows explorer-> right click the icon computer-> choose Properties -> in the contol panel Home, Click Advanced system settings and then click Envitonment Variables button->in the system variables click new and add new syste


Related to : Ruby on Rails — new install on windows 7 but cant run ruby commands, problem with path?
Issuing Ruby on Rails commands without the command line in Windows (Instant Rails)
Programming Languages

I'm working on a public computer where access to the cmd is restricted, i.e., I cannot access it at all.


How do issue commands such as "rails", "rake", or even install gems among other options I'd normally use the command line for with the cmd?


How to run Ruby and GIT commands in one place on Windows
Programming Languages

I have Ruby and GIT installed on my windows box. To run GIT commands I am utilizing the GIT Bash. To run Ruby commands I am using the command line.


I have not been successful running GIT commands from the CMD line nor can I seem to run Ruby commands from inside the GIT Bash. I would love to be able to run commands for both GIT and Ruby from the GIT Bash (ideal) or at the least from the CMD line.


What is the best way to go about this?


Completing install of ruby 1.9.3 with Ruby for for Mac OS X 10.7.5 Leopard, Xcode 4.5.2 — problems with rvm pkg install openssl
Programming Languages

First, many thanks in advance for any help. I'm a complete novice with programming and I'm trying to get started with this Ruby on Rails tutorial (http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=3.2)


I have been trying figure this out for about 7 hours now and since I don't have any hair left to pull out I'm turning to these hallowed pages. I have searched for solutions here again and again.


System: Mac OS X 10.7.5 Leopard, Xcode 4.5.2


I installed homebrew and have updated it multiple times
I used homebrew to install rvm and have updated it multiple times
I installed git


The sta

How do I run ruby commands in my bash script without getting “ruby: command not found”
Programming Languages

my script=


#!/bin/bash
echo ************************BEGIN LOG******************************>>/root/backup_scripts/new_scripts/vmbackup.log 2>&1
date +"%m/%d/%Y %H:%M:%S $HOSTNAME">>/root/backup_scripts/new_scripts/vmbackup.log 2>&1
ruby /root/backup_scripts/new_scripts/aapxen01.rb>>/root/backup_scripts/new_scripts/vmbackup.log 2>&1
ruby /root/backup_scripts/new_scripts/apvdbs03.rb>>/root/backup_scripts/new_scripts/vmbackup.log 2>&1
ruby /root/backup_scripts/new_scripts/aapxen02.rb>>/root/backup_scripts/new_scripts/vmbackup.log 2>&1
echo end log entry>
Ruby on Rails — new install on windows 7 but cant run ruby commands, problem with path?
Programming Languages

I just installed ruby on rails on my new computer ( I was using instantrails before) and I'm trying to get everything setup.


Im running Windows 7. So I followed the instructions from this tutorial.


http://blogupstairs.com/ruby-on-rails/installing-ruby-on-rails-on-windows-7/


The problem i'm guessing is step 3


"Add the newly installed bin directory to your path in your windows system : Open windows explorer-> right click the icon computer-> choose Properties -> in the contol panel Home, Click Advanced system settings and then click Envitonment Variables button->in the system variables click new and add new syste

Why is Ruby 1.9.2 on Windows 7 using a 1.9.1 path for gems? it is using c:/ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb
Programming Languages

I installed Ruby 1.9.2 using one click installer to c:
uby192


It doesn't set any path, so I set it to include c:
uby192 at the very beginning of the path.


But when it error on something (for Rails 3.0), the path says:


[Error message]
c:/ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb

why is it 1.9.1 gems path for Ruby 1.9.2?



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .