librelist archives

« back to archive

Get green shoes from git

Get green shoes from git

From:
Tobias Pfeiffer
Date:
2011-09-16 @ 17:52
Hey guys,

does anybody know how to get green_shoes in the Gemfile directly from 
git? I tried

     gem green_shoes, git: https://github.com/ashbb/green_shoes

but it got me an error that it can't find the gem. As I checked there is 
also no gemspec in the repository. I could clone the repo and point my 
Gemfile there via path, but other people need to use this so it's 
impractical.

I just want to have the most up to date changes as I notice quite a 
difference between red shoes and green shoes in my project and hope that 
it gets smaller with new additions :-)

Thanks & Cheers,
Tobi

Re: [shoes] Get green shoes from git

From:
ashbb
Date:
2011-09-17 @ 00:37
Hi Tobi,

Clone Green Shoes repo on GitHub and make gemfile by yourself. ;-)

Try out the following.

- git clone git://github.com/ashbb/green_shoes.git
- cd green_shoes
- rake gemspec
- rake build
- ls pkg  #=> green_shoes-1.0.288.gem

Hope this helps,
ashbb

ps. You may need to install jeweler.

Re: [shoes] Get green shoes from git

From:
ashbb
Date:
2011-09-17 @ 01:50
Hi Tobi and folks,

Sorry, I've misunderstood.

I have thought that I have to upload a gemfile itself to github. xx-P

Okay, I'll build a gemspec file and upload to github repo.

Regards,
ashbb

Re: [shoes] Get green shoes from git

From:
ashbb
Date:
2011-09-17 @ 04:20
Hi Tobi and folks,

Uploaded a green_shoes.gemspec file to my github repo.
But,

C:\tmp> gem "green_shoes", :git => "git://github.com/ashbb/green_shoes.git"
sh.exe": git://github.com/ashbb/green_shoes.git: No such file or directory

Umm,...

I read this: http://gembundler.com/git.html

I guess I need something for setting Bundler... but don't get it. :(

Could you get Green Shoes gemfile from github?

ashbb

Re: [shoes] Get green shoes from git

From:
Tobias Pfeiffer
Date:
2011-09-17 @ 08:24
Hi ashbb,

thanks for uploading the file! It works for me :-)

I used this line:

     gem 'green_shoes', git: "https://github.com/ashbb/green_shoes"

Unfortunately the display differences with red shoes don't disappear, 
I'll try to file an issue report but at first it's more important for me 
to get to my checkpoint :-)

But having it directly from git is cool anyway, thanks for quickly 
acting upon this!

Tobi

On 09/17/2011 06:20 AM, ashbb wrote:
> Hi Tobi and folks,
>
> Uploaded a green_shoes.gemspec file to my github repo.
> But,
>
> C:\tmp>  gem "green_shoes", :git =>  "git://github.com/ashbb/green_shoes.git
> <http://github.com/ashbb/green_shoes.git>"
> sh.exe": git://github.com/ashbb/green_shoes.git
> <http://github.com/ashbb/green_shoes.git>: No such file or directory
>
> Umm,...
>
> I read this: http://gembundler.com/git.html
>
> I guess I need something for setting Bundler... but don't get it. :(
>
> Could you get Green Shoes gemfile from github?
>
> ashbb