All, I''m extremely excited about SwitchTower''s ability to make the deployment process easier, but I''m having troubles getting started. After checking out the latest revision from the repository and generating a test rails structure using rake fresh_rails_without_docs_using_links, I noticed that there is no "setup" task. Also, the script directory does not contain the switchtower script and the library is not present in vendor/rails. I''m sure that I''m missing something completely obvious - anyone have any ideas? - Derek -- Derek Haynes HighGroove Studios - http://www.highgroove.com Keeping it Simple. 404.593.4879
On Aug 17, 2005, at 9:05 AM, Derek Haynes wrote:> All, > > I''m extremely excited about SwitchTower''s ability to make the > deployment process easier, but I''m having troubles getting started. > > After checking out the latest revision from the repository and > generating a test rails structure using rake > fresh_rails_without_docs_using_links, I noticed that there is no > "setup" task.Wow, I''d never even heard of that rake task! I''ll get in and make it knows about switchtower. In the meantime, you can set up a new rails app by going to the root of your rails repo, and typing: ruby -Irailties/lib railties/bin/rails path/to/app (replacing path/to/app with the path to your application). You''ll need to set up links to rails in the vendor dir manually, though. Doing this will get you the switchtower script, etc. - Jamis
On Aug 17, 2005, at 4:36 PM, Jamis Buck wrote:> On Aug 17, 2005, at 9:05 AM, Derek Haynes wrote: > >> All, >> >> I''m extremely excited about SwitchTower''s ability to make the >> deployment process easier, but I''m having troubles getting started. >> >> After checking out the latest revision from the repository and >> generating a test rails structure using rake >> fresh_rails_without_docs_using_links, I noticed that there is no >> "setup" task. >> > > Wow, I''d never even heard of that rake task! I''ll get in and make > it knows about switchtower. In the meantime, you can set up a new > rails app by going to the root of your rails repo, and typing: > > ruby -Irailties/lib railties/bin/rails path/to/app > > (replacing path/to/app with the path to your application). You''ll > need to set up links to rails in the vendor dir manually, though. > Doing this will get you the switchtower script, etc.For what it''s worth, the railties rakefile is now fixed, too, so the fresh_rails_without_docs_using_links task should set up switchtower correctly. - Jamis