Howard Klein
Howard Klein

Reputation: 11

Building a Rails app with Aptana Studio 3

I'm new to Rails and Aptana. I'm trying to create a new Rails Project (call it "MyProj"). I get the following error:
sh: /c/RailsInstaller/Ruby1.9.2/bin/rails: C:/Projects/railsinstaller/sgae/Ruby1.9.2/bin/ruby.exe: bad interpreter: No such file or directory

Can anyone tell me what I'm doing wrong and what I need to do to fix this? Thanks.

Upvotes: 1

Views: 1643

Answers (2)

Joe Gillon
Joe Gillon

Reputation: 97

The problem is, it's looking in the wrong location. My RailsInstaller didn't put ruby.exe in C:/Projects/railsinstaller/sgae/Ruby1.9.2/bin/. It put it in C:/RailsInstaller/Ruby1.9.2/bin, so the question becomes, how the hell do we tell Aptana Studio this?

Upvotes: 2

I guess you are running Windows, I don't know/use it so probably I will not help you too much but it seems Aptana try to run rails but can't find a suitable ruby interpreter at the location it aspects.

Are you able to run irb from the terminal?

Maybe you can find some useful hint about Rails installation in windows here http://ruby.railstutorial.org/book/ruby-on-rails-tutorial?version=3.2#sec:rails_installer_windows

Hope this can help ;)

Upvotes: 0

Related Questions