开发者

does every gem have its own rake?

开发者 https://www.devze.com 2023-04-11 11:10 出处:网络
Does every gem have its own rake? Because I was doing android development and I created app using the z$ rhogen app z. and then i did $rake run:android and the android emulator came up. 开发者_如何学运

Does every gem have its own rake? Because I was doing android development and I created app using the z$ rhogen app z. and then i did $rake run:android and the android emulator came up. 开发者_如何学运维But when I create an app using $rhosync app <appname> then migrate to the root of the app folder and do $rake:dtach install then the rake uses my older version of Ruby 1.8 where as my new and active Ruby version is Ruby 1.9.2. I dont know where to change the config file of the app or gem I am not sure to make Ruby 1.9.2 as my default ruby when I do $rake dtach:install.


As Alex said, rake tasks are not needed in order to have a gem.

What environment are you working on? RVM is a nice way to manage you ruby environments and manage multiple versions of ruby on unix based systems (OS X/ubuntu/debian). Have a look here http://beginrescueend.com/


No, not all gems have rake tasks.

0

精彩评论

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

关注公众号