Help/Cannot Open Ruby Project in Ide

Z

Zayd Connor

I apologize if I'm posting this in the wrong forum.
I'm having trouble opening my whole folder project in my Netbean Ide,
and also in my Aptana Ide, I'm only able to open up a file.rb. I have
the projects stored in the right directory, I just don't know why I
can;t open the whole project folder in Net Bean or Aptana.

I'm working on windows Vista.

Thanks
 
P

Phlip

Zayd said:
I apologize if I'm posting this in the wrong forum.
I'm having trouble opening my whole folder project in my Netbean Ide,
and also in my Aptana Ide, I'm only able to open up a file.rb. I have
the projects stored in the right directory, I just don't know why I
can;t open the whole project folder in Net Bean or Aptana.

They suck. Specifically, they follow the incredibly sucktacular example of
Eclipse, which cannot even open a file.

You essentially need to write a new program from scratch, using their
generators. They can't just read the current folder, work the Rakefile, and
guess that all these subdirectories might just contain your source code.

I have no idea why all three editors are so incredibly popular, but that's the
industry for you: http://c2.com/cgi/wiki?ConfigurationHell

You will get better help (and less boring dissertations on why they suck!) from
their respective forums.

Until then, use Scite, and get in the habit of rocking to a command line, and
hitting <up><enter> to get back to a rake test:recent...
 
Z

Zayd Connor

Phlip said:
They suck. Specifically, they follow the incredibly sucktacular example
of
Eclipse, which cannot even open a file.

You essentially need to write a new program from scratch, using their
generators. They can't just read the current folder, work the Rakefile,
and
guess that all these subdirectories might just contain your source code.

I have no idea why all three editors are so incredibly popular, but
that's the
industry for you: http://c2.com/cgi/wiki?ConfigurationHell

You will get better help (and less boring dissertations on why they
suck!) from
their respective forums.

Until then, use Scite, and get in the habit of rocking to a command
line, and
hitting <up><enter> to get back to a rake test:recent...

Thanks

Yeah this does suck, unfortunately I dont know how to run a rake task
yet, this would be a great time to learn how to, also this is a rails
project so I know it could be a bit harder using Scite as opposed to
using an Ide like Netbeans. I do need to start getting more familiar
with the command prompt, so using Scite would be a good experience. I
can build a rails project with Scite right?
 
P

Phlip

Zayd said:
Yeah this does suck, unfortunately I dont know how to run a rake task
yet, this would be a great time to learn how to, also this is a rails
project so I know it could be a bit harder using Scite as opposed to
using an Ide like Netbeans. I do need to start getting more familiar
with the command prompt, so using Scite would be a good experience. I
can build a rails project with Scite right?

Unlike some platform we could mention, you cannot do Ruby without learning to
use a command line. Some platforms exploit "vendor lock-in", so their language
forces you to use their editor!

I use Kate, and a command line I wrote, trigger.rb, which runs rake test:recent
whenever any code changes. Then I map Kate's <f5> to save all files. I leave the
editor over the console, so I can see both, and I just

Even the mighty TextMate cannot accomplish that simple envelop, and I have
absolutely no idea why it can't.

Scite will run the current file when you hit <f5>. I use that for _non_ Rails
scripts, because running the current file is probably what you _don't_ want. I
should not have recommended it, except I'm in the habit of putting this icky
line at the bottom of each file:

system 'ruby test:recent' if $0 == __FILE__
 
P

Phlip

Phlip said:
I use Kate, and a command line I wrote, trigger.rb, which runs rake
test:recent whenever any code changes. Then I map Kate's <f5> to save
all files. I leave the editor over the console, so I can see both, and I
just
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,177
Messages
2,570,952
Members
47,506
Latest member
tomiy16522

Latest Threads

Top