-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Quiliro,

That's an interesting situation, and I guess you would have to check
why running "bundle" is asking for root permissions if the gems are
installed.

As you seem to be in a hurry, why don't you use local gems, one copy
for every user? You can prepare one user and then copy the ".gem"
directory to all the 60 users. It will take more disk space but it
should work.

This is a script I have used to install Hobo 2.0 in a lot of Ubuntu
12.04 clients and local gem installs, maybe it can help you with the
first user:



# Install packages (with sudo, system wide)
sudo apt-get update
sudo apt-get install -y ruby1.9.3 rubygems nodejs libsqlite3-dev git

# Gem config
echo "gem: --no-rdoc --no-ri" >> .gemrc # This speeds up gem installation
export GEM_HOME=$HOME/.gem
echo "export GEM_HOME=$HOME/.gem" >> .bashrc

# Install hobo and dependencies
gem install hobo
PATH="$HOME/.gem/bin:$PATH"
echo 'PATH="$HOME/.gem/bin:$PATH"' >> .bashrc

# Create an "empty" app in order for all gems to finish installing, so
next time it will be faster
hobo new superapp --setup
rm -Rf superapp

Warm regards,
Ignacio



El 17/07/13 08:00, Quiliro Ordóñez escribió:
> 
> Hi.
> 
> I have tried to execute this command by several users at the same
> time: "hobo new prueba --setup" It will not work unless each user
> does it when nobody else is doing it.
> 
> On the other side, each user needs admin privileges on that server 
> because bundler asks: "Enter your password to install the bundled
> gems to your system." Even after they have been installed to that
> server by the system admin!
> 
> In a few hours I will be presenting Hobo to 60 people and the
> bandwidth is not enough for all those people for them to install at
> the same time the packages and gems. Besides that, I am worried
> about the privacy implications of this procedure.
> 
> 

- -- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHv+8QACgkQBPlUJ6RHaOQVGACfbGUwA6XUrfBfrV8qwH0JVTXg
wgMAoOzzgJ4vNAH5d+OwOViPwMzXcc37
=dKM2
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to