Check Bundler version

3,582 views
Skip to first unread message

davidvm

unread,
Jul 9, 2010, 8:11:27 PM7/9/10
to ruby-bundler
Hi,

I'm having problems with Bundler on a shared hosting account with
Hostmonster. According to Cpanel, version 0.9.26 is installed, but
when I run "bundle -v", I get a command not found error. Is that the
right command? Is there any other one? I have removed the gem several
times, both through cPanel and SSH. The installation runs fine, but
then I get this problem. It doesn't seem to be running correctly,
since when I run bundle install for my app I also get the same error.
Do I need to add Bundler it to my PATH? How do I do it? Any other
toughts? Thanks a lot in advance.

Andre Arko

unread,
Jul 9, 2010, 8:51:04 PM7/9/10
to ruby-b...@googlegroups.com
I don't know where CPanel installs gems, but yes, that means the 'bundle' command installed by the bundler gem is not in your PATH.

― Andre

> --
> You received this message because you are subscribed to the Google Groups "ruby-bundler" group.
> To post to this group, send email to ruby-b...@googlegroups.com.
> To unsubscribe from this group, send email to ruby-bundler...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ruby-bundler?hl=en.
>

davidvm

unread,
Jul 10, 2010, 1:09:09 AM7/10/10
to ruby-bundler
So how do I add it to the path, what exactly do I have to add, and to
which file?

My gems are located at: /home1/costapob/ruby/gems/gems

And this is what I have on both my .bash_profile and .bashrc files:

export PATH=$HOME/opt/bin:$PATH
export PATH="$HOME/bin:$HOME/.gems/bin:$PATH"
export RUBYLIB="$HOME/lib:$RUBYLIB"



On Jul 9, 6:51 pm, Andre Arko <an...@arko.net> wrote:
> I don't know where CPanel installs gems, but yes, that means the 'bundle' command installed by the bundler gem is not in your PATH.
>
>  \ Andre
>

Andre Arko

unread,
Jul 10, 2010, 2:35:52 AM7/10/10
to ruby-b...@googlegroups.com
Look for the 'bundle' binary, maybe in gems/bin/bundle? And then put the directory with bundle inside it in your PATH. I'm afraid I don't really know anything about how CPanel installs gems, so I can't help you with CPanel/Rubygems issues. This is just the bundler mailing list.

― Andre
Sent from my iPhone

davidvm

unread,
Jul 29, 2010, 1:48:19 PM7/29/10
to ruby-bundler
Thanks for the help. Even if fixing the path, there is a problem on
how Hostmonster runs Bundler, so it won't work correctly. I decided to
give up and installed my app on Heroku. Thanks anyway!

On Jul 10, 12:35 am, Andre Arko <an...@arko.net> wrote:
> Look for the 'bundle' binary, maybe in gems/bin/bundle? And then put the directory with bundle inside it in your PATH. I'm afraid I don't really know anything about how CPanel installs gems, so I can't help you with CPanel/Rubygems issues. This is just the bundler mailing list.
>
>  \ Andre
> Sent from my iPhone
>
Reply all
Reply to author
Forward
0 new messages