Thursday, March 1, 2012

Re: [Rails] Re: Problem In Rails Server Command

On Thu, Mar 1, 2012 at 5:00 PM, Anurag Sachan <anuragsachan07@gmail.com> wrote:
> Is there permanent solution for that. You are saying that i have to
> add each time these gem in my each new rails app.

You will have to do something yes.

In the newer versions of Rails (4.0.0.beta) the
# rubyracer
line is already there, but commented out.

What I do, is to take this order:

$ rails new name_of_app --skip-bundle
$ vim Gemfile # add "gem 'therubyracer'"
$ bundle install

so I don't have to wait 2 times for bundle install.

Actually, to not have to type --skip-bundle every time, I have this
.railsrc defaults file:

~$ cat ~/.railsrc
--skip-bundle
-T
-d postgresql

HTH,

Peter

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate