On Mon, Jul 6, 2015 at 5:42 AM, OPSPL Goan <lists@ruby-forum.com> wrote:
>> when I gave you a suggestion to get more useful error messages
>> some time ago. Did you try that? What was the result?
> $ bundle exec
> bundler: exec needs a command to run
> $
To recap, I said:
> Failing that, stop trying to run the app; leave foreman, puma, etc.
> out of the picture and try running the tests. And use `bundle exec`
> to insure you're using the Gemfile-specified versions.
>
> (P.S. The immediate error
> ERROR: No application configured, nothing to run
> probably means there's no config.ru file in the main directory.)
The main point was to RUN THE TESTS. And using `bundle exec`
does, yes, imply using it to run a command, but since I can't see
your app I can't say what kind of tests it has, and hence what that
command would be.
After you tried `bundle exec` by itself, did you read up on bundler?
Try running `bundle --help` or similar? Did you look for instructions
on running tests in Rails? Did you check for a config.ru file?
> I appreciate you taking the time - but can you point me to something
> that will explain what I'm trying to do and maybe how to do it.
No. There is no substitute for understanding Ruby and Rails enough
to work through whatever is going on. Without a certain baseline level
of knowledge you're just spinning your wheels, as shown above.
Sorry.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yD4O3x7HQqNsxNFahof5e0V%3Djipvj2TYfd32csrMygz3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment