Rails funciono en FreeBSD con Sqlite3 ,solamente problemas con node.js

$ rails -v
Rails 4.0.2
$ ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [amd64-freebsd10]
$

despues de crear uno nuevo project en rails al ejecutar el server sale el siguiente mensaje :

/usr/local/lib/ruby/gems/1.9/gems/railties-4.0.2/lib/rails/app_rails_loader.rb:37: warning: Insecure world writable dir /usr in PATH, mode 040777
/usr/local/lib/ruby/gems/1.9/gems/bundler-1.5.2/lib/bundler/runtime.rb:220: warning: Insecure world writable dir /usr in PATH, mode 040777

pero aparecio un error que decia java runtime , problems node.js luego haces como root ;

cd /usr/ports/www/node/ && make install clean

====> Compressing man pages (compress-man)
===>  Installing for node-0.10.25
===>   Registering installation for node-0.10.25
Installing node-0.10.25... done
===> SECURITY REPORT:
This port has installed the following files which ma act as network
servers and may therefore pose a remote security ris to the system.
/usr/local/bin/node

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://nodejs.org/
===>  Cleaning for node-0.10.25
root@freebsd:/usr/ports/www/node 

despues de esto deberia funcionar rails …

$ rails s
=> Booting WEBrick
=> Rails 4.0.2 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2014-02-21 22:22:30] INFO  WEBrick 1.3.1
[2014-02-21 22:22:30] INFO  ruby 1.9.3 (2013-11-22) [amd64-freebsd10]
[2014-02-21 22:22:30] INFO  WEBrick::HTTPServer#start: pid=45626 port=3000

ahora deberia corregir el ultimo error :

warning: Insecure world writable dir /usr in PATH, mode 040777
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s