I'm setting up a development instance of Calagator on the OpenHatch
virtual machine. We're really excited about setting up a free software,
great-looking, community-tested calendar for events across free software.
I'm new to Rails development, though I've been doing Python development
for a while. On my own machine, when I ran 'bundle' after doing a
'git clone', I seemed to get all the dependencies installed without
needing to sudo.
In the account on the OpenHatch linode, I seem to need to root. But I really
do not want the Calagator modifying the system state without knowing precisely
what it is doing -- the special calagator user ID has no permission to sudo.
Here's what I see:
calagator@linode:~/calagator$ bundle
Fetching source index for http://rubygems.org/
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Enter your password to install the bundled RubyGems to your system:
(at this point, I ^C the process)
My question is: Can I run calagator without needing 'sudo' privileges in
the account that runs it? If there are specific gems or Debian packages
I need to install, then I can do that; I just want to know what they are.
-- Asheesh.
Using this command:
bundle install --path vendor/bundle
worked out great.
Yay for reading the list archives!
You can see our test instance at:
http://calendar-beta.openhatch.org/
source at
https://github.com/jcsims/calagator
We're still testing and playing with it. We intend to one day migrate
it to the futuristic Rails 3 branch. We're also wondering what the best
workflow is for maintaining local changes and/or themes. (Maybe we can
just make them part of your repo, and just point our config file to our
theme?)
-- Asheesh.
> Using this command:
>
> bundle install --path vendor/bundle
>
You might also look at `bundle install --deployment`
(http://gembundler.com/deploying.html). My understanding is that
bundler will prompt for the sudo password if you don't have permission
to write to the gem install directory.
~Sam Goldstein