开发者

Rails 3.0 bundle

开发者 https://www.devze.com 2023-03-02 09:31 出处:网络
\"rails new app\" command is g开发者_Python百科enerating two rails applications namely \"new\" and \"app\"but both of them doesn\'t contains Gemfile, due to which I am not beingable to run \"bundle\"

"rails new app" command is g开发者_Python百科enerating two rails applications namely "new" and "app" but both of them doesn't contains Gemfile, due to which I am not being able to run "bundle" command by changing current directory to either of the applications. I am using "rvm use 1.9.2" command to have ruby 1.9.2 and the more "gem list" command also shows bundle and bundler.

so any help .


You're probably using a old Rails2 "rails" binary. Give rails --version a try.


If you have multiple versions of Rails installed you'll have trouble with which binary is being used.

Check if you have both 2.3.x and 3.0.x installed by running gem list.

If you need both versions, you'll want to create gemsets for each rails version in rvm. Then you do something like rvm use 1.9.2@rails2 or rvm use 1.9.2@rails3 to specify which gemset you want to use.

0

精彩评论

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