Having issues creating mystore app

52 views
Skip to first unread message

Isaac Barnes

unread,
Nov 22, 2009, 6:26:17 PM11/22/09
to spree...@googlegroups.com
I have rails installed and the spree gem. I can run the default app
with default data, but when I try to run spree mystore I get command
unknown. What am I missing?

Thanks in advance.

ikeb

unread,
Nov 23, 2009, 10:47:35 AM11/23/09
to Spree
Ok let me see if I can explain this better. I was looking for a solid
commerce solution and I stumbled upon Spree. I already had rails
installed on my mac so I figured I will just follow the 'Getting
Started'
instructions on the spree website under documentation.

So I skipped step one which is "gem install rails" then I completed
step two successfully "gem install spree". The next step is to run
"spree mystore"
this is where my terminal spits out "-bash spree command not found".

I figured maybe the gem did not install correctly so I tried "gem list
spree" and
terminal returned "spree 8". So it looks like the gem is installed. Is
it true
that all I should have to do is run " spree 'appname' " in terminal
and
it will create a new app?

Has anyone else experienced this?

Dan Coutu

unread,
Nov 23, 2009, 11:08:16 AM11/23/09
to spree...@googlegroups.com
Ikeb, if you're doing this on a Mac then chances are that you installed
the gem into your local directory rather than the system gem library. As
a consequence of this the spree command was not installed because your
account doesn't have sufficient permissions to do so. Reinstall the gem
using the sudo command to get proper installation of everything.

sudo gem install spree

The sudo command will prompt for a password, *your* password.

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

Sean Schofield

unread,
Nov 23, 2009, 9:05:41 PM11/23/09
to spree...@googlegroups.com
I agree with what Dan said. Try that.

Sean

ikeb

unread,
Nov 23, 2009, 10:23:48 PM11/23/09
to Spree
Thanks guys that worked. I wasn't aware of this. Sean you should add
a
note on the guides so you don't get this question again from mac
users .
Reply all
Reply to author
Forward
0 new messages