Need help with Ruby on Rails
Thread Starter
Registered User
iTrader: (1)
Joined: Feb 2012
Posts: 182
From: San Francisco
Car Info: 2013 SWP Wrx Sedan
Need help with Ruby on Rails
Not sure if this topic should be in this section but is anyone experienced/familiar with using Ruby on Rails? I'm applying to a dev boot camp that teaches Ruby but I'm at a dead end because I can't get Ruby to open up .rb files, I have the programs all downloaded and installed I believe. I have watch and read a lot of guides but I they aren't helping me so if anyone can help/steer me in the right direction that would be great.
Thread Starter
Registered User
iTrader: (1)
Joined: Feb 2012
Posts: 182
From: San Francisco
Car Info: 2013 SWP Wrx Sedan
Im currently using windows, everytime I try to open a .rb file my cmd tells me it cant read those files. Noob question, do I use a regular cmd or a ruby specific one?
You should be able to use the regular windows shell, perhaps the powershell version?
Sounds like your ruby installation didn't set up your paths correctly. Does your script have #!/path/to/ruby at the top?
Try running your ruby script with the full ruby executable path, whatever that might be.
C:\Ruby\bin\ruby.exe script.rb
Sounds like your ruby installation didn't set up your paths correctly. Does your script have #!/path/to/ruby at the top?
Try running your ruby script with the full ruby executable path, whatever that might be.
C:\Ruby\bin\ruby.exe script.rb
Go download a good text editor. I'd recommend Sublime Text 2
Sublime Text - Download
That will let you view pretty much any file that you need to. Usually you're not going to want to just double-click on an .rb file.
You'd want to either open the project that you're working on in Sublime Text, or just do a right-click -> 'open with' on the file and select Sublime Text.
Sublime Text - Download
That will let you view pretty much any file that you need to. Usually you're not going to want to just double-click on an .rb file.
You'd want to either open the project that you're working on in Sublime Text, or just do a right-click -> 'open with' on the file and select Sublime Text.
Thread
Thread Starter
Forum
Replies
Last Post
rentankonko
Aftermarket Forced Induction - Turboed factory NA engines
1
Apr 21, 2003 10:12 AM



