Hmm, as I understand it, all the commands are already run from
Rails.root. I tried your suggestion and the outcome was the same.

Here is a script I am testing out, for a clearer idea

http://github.com/activestylus/rails3_mongoid_template/raw/master/test_initialize.rb

A few things are just wrong here. I can successfully create the rvm
gemset and install gems BUT

1. The gems are installed into the global gemset, even though I
clearly run "rvm use 1....@my_app"
2. run "bundle install" has absolutely no effect.

At first I thought bundler might be the trouble, but since RVM also
behaves flaky, it has to be an inherent problem with rails templates,
or even thor. I will be posting issues on the github repo to see if I
can get to the bottom of this.

My ultimate plan is to basically have a template that will not only
generate the rails app I want, but also install the gems, run all
installers/generators so I have a fully functioning environment right
out of the box.

PS - Nice blog, I tried to add you to my RSS reader but that link only
returns the XML as raw source, instead of triggering the reader..
weird.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to