Forum: Ruby script<LoadError>

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2225417c4ebdbb8ebe6fb326bb027fec?d=identicon&s=25 Basma Basma (basma)
on 2009-01-16 20:22
Attachment: problem_with_ruby.gif (10 KB)
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<LoadError>

how can I fixed it?
Thanx :)
2225417c4ebdbb8ebe6fb326bb027fec?d=identicon&s=25 Basma Basma (basma)
on 2009-01-17 17:19
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<LoadError>
>
> how can I fixed it?
> Thanx :)


OK thanx I found the problem :)

the syntax must be as

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

and I have a mistake in word generate.
This topic is locked and can not be replied to.