Trying to freeze my first Gem (yahoo-weather) for my site, and I'm really struggling with a few things.
First, I'm not clear on the "Temporarily assign GEM_HOME and GEM_PATH" section of the wiki.
It instructs the user to export the GEM_HOME and GEM_PATH environment variables, and then before any other command is issued, it says "Logout and start a new shell session!! Or rake will not work..." Doesn't doing this UNDO the process of setting the GEM_HOME & GEM_PATH to include the .gems directory we created earlier? If I log out and back in, doing a echo $GEM_HOME shows nothing,
Anyway, if I do this and continue with the instructions, I receive an error:
username@spurgeon [~/churchill]# rake rails:gems:freeze
(in /home/username/churchill)
rake aborted!
no such file to load -- /home/username/churchill/config/../vendor/rails/railties/lib/initializer
/home/username/churchill/Rakefile:4
(See full trace by running task with --trace)
I'm hoping this is something simple. Yahoo-Weather may be a small feature for my site, but learning the process of installing a Gem will no doubt be invaluable for the remainder of my projects.
Thanks,
Grant