![]() This example shows how to use Forever, since it is bundled in the Bitnami installation. Step 3: Serve your application through the Apache web server $ forever start /opt/bitnami/projects/sample/bin/www You can use other service managers such as PM2 or nodemon. Enable predefined virtual hosts for an Express application You can serve your application through the Apache web server by enabling a virtual host that connects to your application. The Bitnami installation comes with predefined HTTP and HTTPS virtual hosts for connecting to a Node.js application running at port 3000. ![]() dll file however when trying to generate a model, a whole gamut of errors occured, any help would be most welcome, as having come from a 15 year stint with foxpro, Ruby on Rails although in itself just fab, has the linkup problem with MySQL which is totally annoying.SSLCertificateKeyFile "/opt/bitnami/apache/conf/bitnami/certs/server.key"ĭocumentRoot "/opt/bitnami/projects/myapp" SSLCertificateFile "/opt/bitnami/apache/conf/bitnami/certs/server.crt" If the predefined virtual hosts are not available to you, or you prefer to apply a custom configuration, follow the steps below:Ĭreate and edit the /opt/bitnami/apache/conf/vhosts/nf file and add the following lines: ĭocumentRoot "/opt/bitnami/projects/myapp/public"Ĭreate and edit the /opt/bitnami/apache2/conf/vhosts/nf file and add the following lines: Restart Apache for the changes to be taken into effect: $ sudo /opt/bitnami/ctlscript.sh restart apache $ sudo cp /opt/bitnami/apache/conf/vhosts/ /opt/bitnami/apache/conf/vhosts/nf disabled suffix: $ sudo cp /opt/bitnami/apache/conf/vhosts/ /opt/bitnami/apache/conf/vhosts/nf To enable them, follow the steps below:Ĭopy the file to remove the. I downloaded the above which comprises a full folder, and inserted the one. It's recommended to use the exact same version to avoid potential issues.Īt the time of building this gem, the necessary DLL files where availableĪnd put lib\libmysql.dll file in your Ruby bin directory, for example C:\Ruby\ It was built using MySQL Connector/C version 6.0.2. any siggestions would be appreciated.Īfter Installation of RubyStack1-1.9.3-0 in Windows XP, there appeared an SSL Error on bundling, when creating a new project, and an upgrade to Gems 1.8.4 was suggested, however after upgrading there was the following error displayed, "You've installed the binary version of mysql2. Luckily it is a virtual machine, so i have restored back back to my start point, so the same problem will happen again, when i try to upgrade. I didn't want to proceeed any further, as i had probbaly broken it enough! Make sure that gem install json -v '1.7.3' succeeds before bundling. Please update your PATH to include build tools or download the DevKitĪn error occured while installing json (1.7.3), and Bundler cannot continue. Gem::InstallError: The 'json' native gem requires installed build tools. someone suggested deleting my Rakefile.lock file, and run the 'bundle install' again, i did this, and got this:. I attempted to therefore install that, but failed:-Ĭ:\Program Files\BitNami Redmine Stack 2.0.3-1\apps\redmine\htdocs>gem install activerecord-mysql2-adapterĮRROR: Could not find a valid gem 'activerecord-mysql2-adapter' (>= 0) in any repositoryĮRROR: Possible alternatives: activerecord-jdbcmysql-adapter, activerecord-jdbch2-adapter, activerecord-odbc-adapter, activerecord-jdbcmssql-adapter, activerecord-postgis-adapter Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with -trace) Please install the mysql2 adapter: gem install activerecord-mysql2-adapter (mysql2 is not part of the bundle. Until i tried to run the migration again, and got this:. Your bundle is complete! Use bundle show to see where a bundled gemis installed. I then ran the 'bundle install', which seemed to run ok:. ![]() I have recently upgraded bitnami redmine stack from 1.4.1-0 to 2.0.3-1.Įverything goes fine until i try to migrate my plugins:-Ģ.0.3-1\apps\redmine\htdocs>rake redmine:plugins:migrate
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |