From: R.. Kumar 1.9.1 OSX on
During development, I keep running rake install. The following command
often takes a minute to execute, although the gem is created in a
second.

gem1.9 install ../pkg/xxxx.gem

Running --trace doesn't help at all since no details come after the
above line.

Is there any way this can be speeded up. Do others use some other
alternative?
Should I be testing and using my app from the development directory
itself as:

ruby lib/x.rb instead of from the PATH. (Its a CLI program so it
installs in my path as well).

Does the number of dependencies slow down "gem install" ?
--
Posted via http://www.ruby-forum.com/.

From: R.. Kumar 1.9.1 OSX on
Luis Lavena wrote:
> On Jul 5, 2:58�am, "R.. Kumar 1.9.1 OSX" <sentinel1...(a)gmail.com>
> wrote:
>> alternative?
> "rake install", depending on the gem project you're working on (which

>
> Depending on how "rake install" works, it should be running with gem
> install --local, to avoid hitting the remote source index.

rake install - runs gem1.9 install and that's where the time goes (when
I ran --trace)

Thus, my question is to do with speeding up "gem1.9 install" and not
"rake install"

thx.
--
Posted via http://www.ruby-forum.com/.

From: Luis Lavena on
On Jul 5, 10:48 am, "R.. Kumar 1.9.1 OSX" <sentinel1...(a)gmail.com>
wrote:
> Luis Lavena wrote:
> > On Jul 5, 2:58 am, "R.. Kumar 1.9.1 OSX" <sentinel1...(a)gmail.com>
> > wrote:
> >> alternative?
> > "rake install", depending on the gem project you're working on (which
>
> > Depending on how "rake install" works, it should be running with gem
> > install --local, to avoid hitting the remote source index.
>
> rake install - runs gem1.9 install and that's where the time goes (when
> I ran --trace)
>
> Thus, my question is to do with speeding up "gem1.9 install" and not
> "rake install"

gem1.9 install --local path/to/my.gem

As I mentioned before, that will not hit the remote source index.

--
Luis Lavena
From: Brian Candler on
R.. Kumar 1.9.1 OSX wrote:
> During development, I keep running rake install. The following command
> often takes a minute to execute, although the gem is created in a
> second.
>
> gem1.9 install ../pkg/xxxx.gem

Try with --no-ri --no-rdoc
--
Posted via http://www.ruby-forum.com/.

From: R.. Kumar 1.9.1 OSX on
Brian Candler wrote:
> R.. Kumar 1.9.1 OSX wrote:
>> During development, I keep running rake install. The following command
>> often takes a minute to execute, although the gem is created in a
>> second.
>>
>> gem1.9 install ../pkg/xxxx.gem
>
> Try with --no-ri --no-rdoc

gem1.9 install --no-ri --no-rdoc ./pkg/....

putting this in my command, seems to have not much impact.
I actually have this in my .gemrc file already.

I tried a gem install --local and it was instantaneous.

How can i get "rake install" to do a --local.
I obviously don't want this to be global or i wont be able to install
external gems.

thx.
--
Posted via http://www.ruby-forum.com/.

 |  Next  |  Last
Pages: 1 2
Prev: Charset Detection
Next: How to POST Form Data?