Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-09 Thread Vivek Khurana
On Fri, Jul 8, 2011 at 10:28 PM, Lee Spector lspec...@hampshire.edu wrote:

 On Jul 8, 2011, at 12:38 PM, Vivek Khurana wrote:

 That is still not as easy as python. Running VM is a bigger overhead...

 There are different kinds of overhead. If the installation and setup of the 
 VM is simple and bullet proof then this is acceptable overhead for me.

 Tell a newbie that they need to run a VM in order to try clojure...
I dont think many will be interested in doing this.

regards
Vivek

-- 
The hidden harmony is better than the obvious!!

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Lee Spector

On Jul 8, 2011, at 12:38 PM, Vivek Khurana wrote:

 That is still not as easy as python. Running VM is a bigger overhead...

There are different kinds of overhead. If the installation and setup of the VM 
is simple and bullet proof then this is acceptable overhead for me.

On the other hand I just tried it and while the first two steps were fine 
(installing virtualbox and the extension pack) I then got:

lee-spectors-macbook-pro:Seajure-emacs-clojure-vagrant-9a47c23 leespector$ gem 
install vagrant
WARNING:  Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
  /usr/bin aren't both writable.
WARNING:  You don't have /Users/leespector/.gem/ruby/1.8/bin in your PATH,
  gem executables will not run.
Building native extensions.  This could take a while...
ERROR:  Error installing vagrant:
thor requires RubyGems version = 1.3.6

This is on a macbook pro running os x 10.8.7. 

 -Lee

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Jonathan Fischer Friberg
It looks like you haven't got enough privileges, try sudo gem install
vagrant

Jonathan

On Fri, Jul 8, 2011 at 6:58 PM, Lee Spector lspec...@hampshire.edu wrote:


 On Jul 8, 2011, at 12:38 PM, Vivek Khurana wrote:

  That is still not as easy as python. Running VM is a bigger overhead...

 There are different kinds of overhead. If the installation and setup of the
 VM is simple and bullet proof then this is acceptable overhead for me.

 On the other hand I just tried it and while the first two steps were fine
 (installing virtualbox and the extension pack) I then got:

 lee-spectors-macbook-pro:Seajure-emacs-clojure-vagrant-9a47c23 leespector$
 gem install vagrant
 WARNING:  Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
  /usr/bin aren't both writable.
 WARNING:  You don't have /Users/leespector/.gem/ruby/1.8/bin in your PATH,
  gem executables will not run.
 Building native extensions.  This could take a while...
 ERROR:  Error installing vagrant:
thor requires RubyGems version = 1.3.6

 This is on a macbook pro running os x 10.8.7.

  -Lee

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Lee Spector

On Jul 8, 2011, at 1:02 PM, Jonathan Fischer Friberg wrote:

 It looks like you haven't got enough privileges, try sudo gem install 
 vagrant

Thanks. That solved some of the problems (and I would suggest that sudo be 
added to the vagrant readme instructions) but I still get:

ERROR:  Error installing vagrant:
thor requires RubyGems version = 1.3.6

So I guess I need to track that down...

 -Lee

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Michael Klishin
2011/7/8 Lee Spector lspec...@hampshire.edu

 ERROR:  Error installing vagrant:
thor requires RubyGems version = 1.3.6

 So I guess I need to track that down...



what does gem --version output?

To upgrade rubygems, use

[sudo] gem update --system
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Lee Spector

On Jul 8, 2011, at 1:24 PM, Michael Klishin wrote:
 
 what does gem --version output?

It was  1.3.5.

 
 To upgrade rubygems, use
 
 [sudo] gem update --system

Thanks so much. I've now successfully upgraded rubygems and completed the sudo 
gem install vagrant step without error.

I will take the next steps shortly.

Is this an okay place to make suggestions about the vagrant readme? In addition 
to adding sudo I would suggest adding an explicit step with 
links/instructions for installing or upgrading rubygems.

 -Lee

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Phil Hagelberg
Lee Spector lspec...@hampshire.edu writes:

 Thanks so much. I've now successfully upgraded rubygems and completed
 the sudo gem install vagrant step without error.

 I will take the next steps shortly.

 Is this an okay place to make suggestions about the vagrant readme? In
 addition to adding sudo I would suggest adding an explicit step with
 links/instructions for installing or upgrading rubygems.

Maybe a troubleshooting section at the bottom of the readme? Sounds
good to me; feel free to issue a pull request.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Vagrant setup [was Re: Please stand firm against Steve Yegge's yes language push]

2011-07-08 Thread Lee Spector

On Jul 8, 2011, at 3:00 PM, Phil Hagelberg wrote:
 
 Maybe a troubleshooting section at the bottom of the readme? Sounds
 good to me; feel free to issue a pull request.

I don't have the expertise to write such a thing.

In other news, I've now done vagrant up in the directory containing the 
readme, and a long installation ensued ending with:

[default] Copying client components to /root/.config/jark
[default] Copying server components to /root/.cljr
[default] Installed successfully.

but I'm not sure if it's really done or not because it didn't return to the 
shell (I get no new prompt).

In any event I opened another Terminal window to try to proceed with the next 
steps and got:

lee-spectors-macbook-pro:~ leespector$ vagrant ssh
No Vagrant environment detected. Run `vagrant init` to set one up.

So I did:

lee-spectors-macbook-pro:~ leespector$ vagrant init
  create  Vagrantfile

And then:

lee-spectors-macbook-pro:~ leespector$ vagrant ssh
The local file Vagrant uses to store data .vagrant already exists
and is a directory! If you are in your home directory, then please run
this command in another directory. If you aren't in a home directory,
then please rename .vagrant to something else, or configure Vagrant
to use another filename by modifying `config.vagrant.dotfile_name`.

So I did:

lee-spectors-macbook-pro:~ leespector$ mkdir vagrant-foo
lee-spectors-macbook-pro:~ leespector$ cd vagrant-foo/

But still:

lee-spectors-macbook-pro:vagrant-foo leespector$ vagrant ssh
The local file Vagrant uses to store data .vagrant already exists
and is a directory! If you are in your home directory, then please run
this command in another directory. If you aren't in a home directory,
then please rename .vagrant to something else, or configure Vagrant
to use another filename by modifying `config.vagrant.dotfile_name`.

Not sure what to do next.

BTW early in the long output from vagrant up I saw:

[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

I don't know if this may be responsible for my current impasse and/or if how it 
will effect the process of working with this setup if I ever get it working; I 
don't have experience with VirtualBox and I don't have a sense of how files can 
be moved/shared between OSes.


 -Lee

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en