开发者

Gem required for running rails console on Snow Leopard?

Have tried to run rails console but whe开发者_高级运维n I try to run a simple command like:

"foobar".length

I get a "Command not found" error. IRB runs fine.

Do I need to download a gem and do a bundle install to run rails console? If so, what gem?

Am running Rails 3.0.9


Seems like your rails console didn't actually start properly but tried to start and killed itself because of some error. The error you receive sound more like it's coming from your shell (e.g. bash).

Try to start your console with bundle exec rails console. If there are errors, please post them here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜