Editing Talk:RubyFoo/Rails

Discussion page of RubyFoo/Rails
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
= DEBIAN 6 =
gem version needed... installing
 
rubygems1.9.1
Alle tests/fehler aus Debian 6
 
== preperations ==
on "Debian GNU/Linux 6.0" its "ruby1.9.2"<br>
after that, need to:
apt-get install rubygems
 
:curious, the Debian packages page tells me that “This package provides Rubygems for Ruby 1.8. In Ruby 1.9.X, Rubygems is provided with the interpreter.” --[[User:Nomaster|Nomaster]] ([[User talk:Nomaster|talk]]) 09:58, 24 October 2012 (CEST)
== rails new ==
 
An error occurred while installing sqlite3 (1.3.6), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.6'` succeeds before bundling.
 
gem install sqlite3 -v '1.3.6'
<pre>
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
ERROR: Failed to build gem native extension.
 
/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
</pre>
 
:You need to install the SQlite development headers in package <tt>libsqlite3-dev</tt>. --[[User:Nomaster|Nomaster]] ([[User talk:Nomaster|talk]]) 10:00, 24 October 2012 (CEST)
 
apt-get install libsqlite3-dev
 
== JavaScript runtime error ==
 
Does your application give the following error message at start?
 
  Could not find a JavaScript runtime.
 
You can fix this by installing a pure Ruby JavaScript interpreter, which is an easy way across all platforms. To do this, add the following line to the <tt>Gemfile</tt>.
 
  gem 'therubyracer'
 
...and let Bundler handle the rest
 
  $ bundle install
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see Chaosdorf Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)