On Mon, Oct 12, 2009 at 10:19 AM, Nate Turnage <pixeln...@gmail.com> wrote:

>
> <snip>

>
> What I am not certain on is how you *create* a Radiant project using a
> specific version of the gem. If anyone could chime in here it would be
> great. I didn't see it mentioned in the wiki either.
>
> <snip>

>
> ~Nate


Ahh, that is actually pretty easy.  Just ask gem where you're gems are
installed.  You can find that from 'gem environment' and looking at
GEM_PATHS.   Mine is typically /usr/local/lib/ruby/gems/1.8.   In that
directory is another gems directory with inside that each of your installed
gems.  If you have a few radiants installed they will be hanging out there.
Use the explicit path to the version of radiant you want.  Pasted below is
the series of commands from my box if I were interested in a 0.7.1 install:

[dbrod...@beef ~]$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/dbroders/usr/gems
  - RUBY EXECUTABLE: /usr/local//bin/ruby
  - EXECUTABLE DIRECTORY: /home/dbroders/usr/gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     *- /usr/local/lib/ruby/gems/1.8*
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
[dbrod...@beef ~]$ /usr/local/lib/ruby/gems/1.8/gems/radiant-0.
radiant-0.6.9/ radiant-0.7.0/ radiant-0.7.1/ radiant-0.8.1/
[dbrod...@beef ~]$
/usr/local//ib/ruby/gems/1.8/gems/radiant-0.7.1/bin/radiant


-dayne
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to