rvm and path - problem

24 views
Skip to first unread message

Tom Cloyd

unread,
Nov 4, 2010, 8:16:40 AM11/4/10
to webby-list
On a fresh install of Kubuntu 10.10 Linux, I've installed ruby 1.8.7
using the Ruby Version Manager (rvm). I'm new to this tool, and still
studying the documentation, which is frankly a bit over my head at times.

It appears to install rubygems automatically. After the install, the
system can find the ruby and gem executable, but not webby. I cannot
find the problem. I've modified my path, to no effect. I simply don't
know what to do next. I appear not to actually know where webby is,
or...maybe there's another problem. I'm no Linux whiz.

Here's what I know:

***
tomc@tomc-desktop:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/tomc/.rvm/rubies/ruby-1.8.7-p302/bin/:/home/tomc/.rvm/gems/ruby-1.8.7-p302:/home/tomc/.rvm/gems/ruby-1.8.7-p302@global:/usr/games:/home/tomc/.rvm/bin
***
tomc@tomc-desktop:~$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
- INSTALLATION DIRECTORY: /home/tomc/.rvm/gems/ruby-1.8.7-p302
- RUBY EXECUTABLE: /home/tomc/.rvm/rubies/ruby-1.8.7-p302/bin/ruby
- EXECUTABLE DIRECTORY: /home/tomc/.rvm/gems/ruby-1.8.7-p302/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/tomc/.rvm/gems/ruby-1.8.7-p302
- /home/tomc/.rvm/gems/ruby-1.8.7-p302@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
tomc@tomc-desktop:~$

Can anyone tell me the problem, such that "webby autobuild" produces
"webby: command not found"

I'm desperate to get webby running.

Thanks!

Tom

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Weep not that the world changes -- did it keep a stable,
changeless state, it were a cause indeed to weep."
-- William Cullen Bryant
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Private practice Psychotherapist
St. George, Utah, U.S.A: (435) 272-3332
<< t...@tomcloyd.com>> (email)
<< TomCloyd.com>> (website)
<< sleightmind.wordpress.com>> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

aimee daniells

unread,
Nov 4, 2010, 8:56:15 AM11/4/10
to webby...@googlegroups.com
It's probably not so much a path problem, probably that you need to install webby into your particular rvm environment.

Can you do an "rvm info" to see whether you're using any gemsets. If not it may be worth creating one.

Once you're in an rvm environment you need to do "gem install webby" not "sudo gem install webby"

Use an .rvmrc file in your project's directory to make sure you always get into the right rvm environment.

aimee

Tom Cloyd

unread,
Nov 4, 2010, 11:40:34 PM11/4/10
to webby...@googlegroups.com
Thanks, Aimee, for pointing me in the direction I apparently need to go. I realize this was more an rvm than a webby question, but hoped I'd get a response anyway, and did. I'm diving into rvm basics now and getting a much better grip on things - expect to have problem solved soon.

Thanks again...

t.

aimee daniells

unread,
Nov 5, 2010, 4:20:26 AM11/5/10
to webby...@googlegroups.com
No worries. Let me know if there's anything more i can do to help.

aimee
Reply all
Reply to author
Forward
0 new messages