There is an alternative. RVM is a bash function, so it can modify the path in your shell. Instead, it would be possible to implement it by having it modify symlinks to places under its control (which must be in your path), and complaining if any other environment variables are set that would conflict.
This was how I initially thought it must be implemented. It would work with any shell. Clifford Heath. On 02/09/2009, at 10:35 AM, Ben Schwarz wrote: > > RVM is written almost entirely in bash nic. > Unless you'd like to write something to convert it on the fly? :) > > > On Sep 2, 5:01 am, Dr Nic Williams <[email protected]> wrote: >> Hey Bo, can a "port" be avoided and make RVM "just work" across a >> subset of >> shells? >> >> >> >> >> >> On Tue, Sep 1, 2009 at 2:03 PM, Bodaniel Jeanes <[email protected]> >> wrote: >>> I love Fish. I really really love it. But RVM just came out and >>> looks so >>> damn cool but doesn't work with Fish. I am starting a port this >>> weekend. >>> Anybody want to join in? Especially people in Brisbane, this will >>> be my >>> ActionHack project but I'd love some extra help. >>> Bo >> >>> On Tue, Sep 1, 2009 at 11:06 AM, Mark Ryall <[email protected]> >>> wrote: >> >>>> ah - *slaps head* - thanks >> >>>> On Tue, Sep 1, 2009 at 10:02 AM, Chris Lloyd >>>> <[email protected] >>>>> wrote: >> >>>>> 2009/9/1 Mark Ryall <[email protected]> >> >>>>>> The other thing i'd really like to be able to do is to execute >>>>>> something >>>>>> to populate an environment variable >> >>>>> Use (). >>>>> set -x FOO (cat foo.pid) >> >>>>> Chris >> >>>>> -- >>>>> chrislloyd.com.au >> >> -- >> Dr Nic Williams >> Mocra - Premier iPhone and Ruby on Rails Consultants >> w -http://mocra.com >> twitter - @drnic >> skype - nicwilliams >> e - [email protected] >> p - +61 412 002 126 or +61 7 3102 3237 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
