Topic: Bundle and "freezing" everything for an app
What I'm trying to do is pack/freeze all my gems/dependencies for an app into the app dir itself so I can just take the dir and give to someone and they have everything they need to run the app. So I "bundle pack" in my dir and it runs the command and when I go to the vendor files I see that ally my gems are listed, including rails, railties, etc...everything's listed.
So to test this out, I have a machine that has nothing installed except Ruby 1.8.7 and rubygems. It does not have any rails-related items installed. You run "gem list" and you get nothing.
I thought that I could take the app dir, copy it to the new machine and run "bundle install". However, it seems that the new machine doesn't even know that "bundle" or "rails" commands exist.
So are my assumptions wrong that you can imbed EVERYTHING your application needs except a Ruby interpreter into your app dir and then give it to someone else to run? I thought that's what was meant but I guess I'm thinking wrongly.
Is there a way to imbed everything into an app dir so that you can walk up to a machine that has nothing but a Ruby interpreter and run your app? Or are there some base gems/libraries that have to be installed to accomplish this.