script<LoadError>

I have a problem with this command ,when I wont to generate the
controller.
Ruby script/generate controller

there is a message says

ruby Permission denied – script

how can I fixed it?
Thanx :slight_smile:

Basma Basma wrote:

I have a problem with this command ,when I wont to generate the
controller.
Ruby script/generate controller

there is a message says

ruby Permission denied – script

how can I fixed it?
Thanx :slight_smile:

OK thanx I found the problem :slight_smile:

the syntax must be as

Ruby script/generate controller XX
where XX is the domain!

and I have a mistake in word generate.