soldier.coder wrote in post #1046987:
> Several ideas, in fact.
>
> Since rails is actually telling you are missing a gem, by all means
> run the command:
> bundle install
>
> Make sure you are in your app's root when you do this.
> If this solves your problem, great, if not continue to step below and
> once that is done, run bundler again.
>
>
> There may be a more insidious problem. No matter what environment you
> are in, there is gonna be some code sometime that is written in C
> probably for performance reasons. So you may need a compiler for that
> and bundle may quit if it does not find one. Go to
> https://github.com/oneclick/rubyinstaller/wiki/Development-Kit and
> install the DevKit.
>
> SC
I actually already have the DevKit - it is installed by the Rails
installer. I tried 'bundle install' - this yielded :-
C:\Documents and Settings\Patrick Bayford\Desktop\myapp>bundle install
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using multi_json (1.0.4)
Using activesupport (3.1.1)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.1)
Using erubis (2.7.0)
Using rack (1.3.6)
Using rack-cache (1.1)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.1)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.0)
Using actionmailer (3.1.1)
Using arel (2.2.1)
Using tzinfo (0.3.31)
Using activerecord (3.1.1)
Using activeresource (3.1.1)
Using ansi (1.4.2)
Using bundler (1.0.21)
Using coffee-script-source (1.2.0)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.5)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.1.1)
Using coffee-rails (3.1.1)
ArgumentError: invalid byte sequence in US-ASCII
An error occured while installing jquery-rails (1.0.19), and Bundler
cannot continue.
Make sure that `gem install jquery-rails -v '1.0.19'` succeeds before
bundling.
So I ran `gem install jquery-rails -v '1.0.19'` - this yielded :-
C:\Ruby192>gem install jquery-rails -v '1.0.19'
ERROR: While executing gem ... (ArgumentError)
invalid byte sequence in US-ASCII
Does this imply there is a problem with jquery-rails, or is this
something to do with my machine? I have seen this "invalid byte sequence
in US-ASCII"
in other places, most recently while trying to read a text file in Ruby!
--
Posted via http://www.ruby-forum.com/.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.